Search for file

  1. Search 7.x for file
  2. Search 9.5.x for file
  3. Search 8.9.x for file
  4. Search 10.3.x for file
  5. Other projects

Exact matches

These are exact matches according to your search
Title Object type File name Summary
File class core/modules/media/src/Plugin/media/Source/File.php File entity media source.
File class core/modules/file/src/Entity/File.php Defines the file entity class.
File class core/modules/file/src/Plugin/views/field/File.php Field handler to provide simple renderer that allows linking to a file.
File class core/modules/file/src/Plugin/views/wizard/File.php Tests creating managed files views with the wizard.
File class core/modules/file/src/Plugin/migrate/source/d6/File.php Drupal 6 file source from database.
File class core/modules/file/src/Plugin/migrate/source/d7/File.php Drupal 7 file source from database.
File class core/lib/Drupal/Core/Render/Element/File.php Provides a form element for uploading a file.

All search results

Title Object type File name Summary
FileFieldTest::testDefineValueProcessPipeline function core/modules/file/tests/src/Unit/Plugin/migrate/field/d7/FileFieldTest.php @covers ::defineValueProcessPipeline
FileFieldTest::testGetFieldType function core/modules/file/tests/src/Unit/Plugin/migrate/field/d6/FileFieldTest.php @covers ::getFieldType
@dataProvider getFieldTypeProvider
FileFieldTest::testGetFieldType function core/modules/file/tests/src/Unit/Plugin/migrate/field/d7/FileFieldTest.php @covers ::getFieldType
@dataProvider getFieldTypeProvider
FileFieldTestBase class core/modules/file/tests/src/Functional/FileFieldTestBase.php Provides methods specifically for testing File module's field handling.
FileFieldTestBase.php file core/modules/file/tests/src/Functional/FileFieldTestBase.php
FileFieldTestBase::$adminUser property core/modules/file/tests/src/Functional/FileFieldTestBase.php A user with administration permissions.
FileFieldTestBase::$modules property core/modules/file/tests/src/Functional/FileFieldTestBase.php Modules to install.
FileFieldTestBase::assertFileEntryExists function core/modules/file/tests/src/Functional/FileFieldTestBase.php Asserts that a file exists in the database.
FileFieldTestBase::assertFileEntryNotExists function core/modules/file/tests/src/Functional/FileFieldTestBase.php Asserts that a file does not exist in the database.
FileFieldTestBase::assertFileIsPermanent function core/modules/file/tests/src/Functional/FileFieldTestBase.php Asserts that a file's status is set to permanent in the database.
FileFieldTestBase::getLastFileId function core/modules/file/tests/src/Functional/FileFieldTestBase.php Retrieves the fid of the last inserted file.
FileFieldTestBase::getTestFile function core/modules/file/tests/src/Functional/FileFieldTestBase.php Retrieves a sample file of the specified type.
FileFieldTestBase::removeNodeFile function core/modules/file/tests/src/Functional/FileFieldTestBase.php Removes a file from a node.
FileFieldTestBase::replaceNodeFile function core/modules/file/tests/src/Functional/FileFieldTestBase.php Replaces a file within a node.
FileFieldTestBase::setUp function core/modules/file/tests/src/Functional/FileFieldTestBase.php
FileFieldTestBase::updateFileField function core/modules/file/tests/src/Functional/FileFieldTestBase.php Updates an existing file field with new settings.
FileFieldTestBase::uploadNodeFile function core/modules/file/tests/src/Functional/FileFieldTestBase.php Uploads a file to a node.
FileFieldTestBase::uploadNodeFiles function core/modules/file/tests/src/Functional/FileFieldTestBase.php Uploads multiple files to a node.
FileFieldValidateTest class core/modules/file/tests/src/FunctionalJavascript/FileFieldValidateTest.php Tests file field validation functions.
FileFieldValidateTest class core/modules/file/tests/src/Functional/FileFieldValidateTest.php Tests file field validation functions.
FileFieldValidateTest.php file core/modules/file/tests/src/Functional/FileFieldValidateTest.php
FileFieldValidateTest.php file core/modules/file/tests/src/FunctionalJavascript/FileFieldValidateTest.php
FileFieldValidateTest::$defaultTheme property core/modules/file/tests/src/FunctionalJavascript/FileFieldValidateTest.php The theme to install as the default for testing.
FileFieldValidateTest::$defaultTheme property core/modules/file/tests/src/Functional/FileFieldValidateTest.php The theme to install as the default for testing.
FileFieldValidateTest::$modules property core/modules/file/tests/src/FunctionalJavascript/FileFieldValidateTest.php Modules to install.
FileFieldValidateTest::testAjaxValidationMessage function core/modules/file/tests/src/FunctionalJavascript/FileFieldValidateTest.php Tests the validation message is displayed only once for ajax uploads.
FileFieldValidateTest::testFileExtension function core/modules/file/tests/src/Functional/FileFieldValidateTest.php Tests file extension checking.
FileFieldValidateTest::testFileMaxSize function core/modules/file/tests/src/Functional/FileFieldValidateTest.php Tests the max file size validator.
FileFieldValidateTest::testFileRemoval function core/modules/file/tests/src/Functional/FileFieldValidateTest.php Checks that a file can always be removed if it does not pass validation.
FileFieldValidateTest::testRequired function core/modules/file/tests/src/Functional/FileFieldValidateTest.php Tests the required property on file fields.
FileFieldWidgetClaroThemeTest class core/modules/file/tests/src/FunctionalJavascript/FileFieldWidgetClaroThemeTest.php Tests the widget visibility settings for the Claro theme.
FileFieldWidgetClaroThemeTest.php file core/modules/file/tests/src/FunctionalJavascript/FileFieldWidgetClaroThemeTest.php
FileFieldWidgetClaroThemeTest::$defaultTheme property core/modules/file/tests/src/FunctionalJavascript/FileFieldWidgetClaroThemeTest.php The theme to install as the default for testing.
FileFieldWidgetClaroThemeTest::testWidgetDefaultVisibilitySettings function core/modules/file/tests/src/FunctionalJavascript/FileFieldWidgetClaroThemeTest.php Tests that the field widget visibility settings are respected on the form.
FileFieldWidgetTest class core/modules/file/tests/src/FunctionalJavascript/FileFieldWidgetTest.php Tests the file field widget, single and multi-valued, using AJAX upload.
FileFieldWidgetTest class core/modules/file/tests/src/Functional/FileFieldWidgetTest.php Tests the file field widget with public and private files.
FileFieldWidgetTest.php file core/modules/file/tests/src/Functional/FileFieldWidgetTest.php
FileFieldWidgetTest.php file core/modules/file/tests/src/FunctionalJavascript/FileFieldWidgetTest.php
FileFieldWidgetTest::$adminUser property core/modules/file/tests/src/FunctionalJavascript/FileFieldWidgetTest.php An user with administration permissions.
FileFieldWidgetTest::$defaultTheme property core/modules/file/tests/src/FunctionalJavascript/FileFieldWidgetTest.php The theme to install as the default for testing.
FileFieldWidgetTest::$defaultTheme property core/modules/file/tests/src/Functional/FileFieldWidgetTest.php The theme to install as the default for testing.
FileFieldWidgetTest::$modules property core/modules/file/tests/src/Functional/FileFieldWidgetTest.php Modules to install.
FileFieldWidgetTest::$modules property core/modules/file/tests/src/FunctionalJavascript/FileFieldWidgetTest.php Modules to install.
FileFieldWidgetTest::createTemporaryFile function core/modules/file/tests/src/Functional/FileFieldWidgetTest.php Creates a temporary file, for a specific user.
FileFieldWidgetTest::doTestTemporaryFileRemovalExploit function core/modules/file/tests/src/Functional/FileFieldWidgetTest.php Helper for testing exploiting the temporary file removal using fid.
FileFieldWidgetTest::getTestFile function core/modules/file/tests/src/FunctionalJavascript/FileFieldWidgetTest.php Retrieves a sample file of the specified type.
FileFieldWidgetTest::setUp function core/modules/file/tests/src/FunctionalJavascript/FileFieldWidgetTest.php
FileFieldWidgetTest::setUp function core/modules/file/tests/src/Functional/FileFieldWidgetTest.php
FileFieldWidgetTest::testFileExtensionsSetting function core/modules/file/tests/src/Functional/FileFieldWidgetTest.php Tests configuring file field's allowed file extensions setting.
FileFieldWidgetTest::testMaximumUploadFileSizeValidation function core/modules/file/tests/src/Functional/FileFieldWidgetTest.php Tests maximum upload file size validation.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.