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 11.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
FileFieldRevisionTest.php file core/modules/file/tests/src/Functional/FileFieldRevisionTest.php
FileFieldRevisionTest::$defaultTheme property core/modules/file/tests/src/Functional/FileFieldRevisionTest.php The theme to install as the default for testing.
FileFieldRevisionTest::testRevisions function core/modules/file/tests/src/Functional/FileFieldRevisionTest.php Tests creating multiple revisions of a node and managing attached files.
FileFieldRSSContentTest class core/modules/file/tests/src/Functional/FileFieldRSSContentTest.php Ensure that files added to nodes appear correctly in RSS feeds.
FileFieldRSSContentTest.php file core/modules/file/tests/src/Functional/FileFieldRSSContentTest.php
FileFieldRSSContentTest::$defaultTheme property core/modules/file/tests/src/Functional/FileFieldRSSContentTest.php The theme to install as the default for testing.
FileFieldRSSContentTest::$modules property core/modules/file/tests/src/Functional/FileFieldRSSContentTest.php Modules to install.
FileFieldRSSContentTest::testFileFieldRSSContent function core/modules/file/tests/src/Functional/FileFieldRSSContentTest.php Tests RSS enclosure formatter display for RSS feeds.
FileFieldTest class core/modules/file/tests/src/Unit/Plugin/migrate/field/d6/FileFieldTest.php @coversDefaultClass \Drupal\file\Plugin\migrate\field\d6\FileField
@group file
FileFieldTest class core/modules/file/tests/src/Unit/Plugin/migrate/field/d7/FileFieldTest.php @coversDefaultClass \Drupal\file\Plugin\migrate\field\d7\FileField
@group file
FileFieldTest.php file core/modules/file/tests/src/Unit/Plugin/migrate/field/d6/FileFieldTest.php
FileFieldTest.php file core/modules/file/tests/src/Unit/Plugin/migrate/field/d7/FileFieldTest.php
FileFieldTest::$migration property core/modules/file/tests/src/Unit/Plugin/migrate/field/d6/FileFieldTest.php
FileFieldTest::$migration property core/modules/file/tests/src/Unit/Plugin/migrate/field/d7/FileFieldTest.php
FileFieldTest::$plugin property core/modules/file/tests/src/Unit/Plugin/migrate/field/d6/FileFieldTest.php
FileFieldTest::$plugin property core/modules/file/tests/src/Unit/Plugin/migrate/field/d7/FileFieldTest.php
FileFieldTest::getFieldTypeProvider function core/modules/file/tests/src/Unit/Plugin/migrate/field/d6/FileFieldTest.php Data provider for testGetFieldType().
FileFieldTest::getFieldTypeProvider function core/modules/file/tests/src/Unit/Plugin/migrate/field/d7/FileFieldTest.php Data provider for testGetFieldType().
FileFieldTest::setUp function core/modules/file/tests/src/Unit/Plugin/migrate/field/d6/FileFieldTest.php
FileFieldTest::setUp function core/modules/file/tests/src/Unit/Plugin/migrate/field/d7/FileFieldTest.php
FileFieldTest::testDefineValueProcessPipeline function core/modules/file/tests/src/Unit/Plugin/migrate/field/d6/FileFieldTest.php @covers ::defineValueProcessPipeline
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.

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