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
FileFieldDisplayTest::testDescriptionDefaultFileFieldDisplay function core/modules/file/tests/src/Functional/FileFieldDisplayTest.php Tests description display of File Field.
FileFieldDisplayTest::testDescToggle function core/modules/file/tests/src/Functional/FileFieldDisplayTest.php Tests description toggle for field instance configuration.
FileFieldDisplayTest::testNodeDisplay function core/modules/file/tests/src/Functional/FileFieldDisplayTest.php Tests normal formatter display on node display.
FileFieldFormatterAccessTest class core/modules/file/tests/src/Functional/FileFieldFormatterAccessTest.php Tests file formatter access.
@group file
FileFieldFormatterAccessTest.php file core/modules/file/tests/src/Functional/FileFieldFormatterAccessTest.php
FileFieldFormatterAccessTest::$defaultTheme property core/modules/file/tests/src/Functional/FileFieldFormatterAccessTest.php The theme to install as the default for testing.
FileFieldFormatterAccessTest::$modules property core/modules/file/tests/src/Functional/FileFieldFormatterAccessTest.php Modules to install.
FileFieldFormatterAccessTest::testFileAccessHandler function core/modules/file/tests/src/Functional/FileFieldFormatterAccessTest.php Tests the custom access handler is invoked.
FileFieldItemList class core/modules/file/src/Plugin/Field/FieldType/FileFieldItemList.php Represents a configurable entity file field.
FileFieldItemList.php file core/modules/file/src/Plugin/Field/FieldType/FileFieldItemList.php
FileFieldItemList::defaultValuesForm function core/modules/file/src/Plugin/Field/FieldType/FileFieldItemList.php Returns a form for the default value input.
FileFieldItemList::delete function core/modules/file/src/Plugin/Field/FieldType/FileFieldItemList.php Defines custom delete behavior for field values.
FileFieldItemList::deleteRevision function core/modules/file/src/Plugin/Field/FieldType/FileFieldItemList.php Defines custom revision delete behavior for field values.
FileFieldItemList::postSave function core/modules/file/src/Plugin/Field/FieldType/FileFieldItemList.php Defines custom post-save behavior for field values.
FileFieldPathTest class core/modules/file/tests/src/Functional/FileFieldPathTest.php Tests that files are uploaded to proper locations.
FileFieldPathTest.php file core/modules/file/tests/src/Functional/FileFieldPathTest.php
FileFieldPathTest::$defaultTheme property core/modules/file/tests/src/Functional/FileFieldPathTest.php The theme to install as the default for testing.
FileFieldPathTest::assertPathMatch function core/modules/file/tests/src/Functional/FileFieldPathTest.php Asserts that a file is uploaded to the right location.
FileFieldPathTest::testUploadPath function core/modules/file/tests/src/Functional/FileFieldPathTest.php Tests the normal formatter display on node display.
FileFieldRevisionTest class core/modules/file/tests/src/Functional/FileFieldRevisionTest.php Tests creating and deleting revisions with files attached.
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.

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