Search for file

  1. Search 7.x for file
  2. Search 8.9.x for file
  3. Search 10.3.x for file
  4. Search 11.x for file
  5. Search main for file
  6. 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
FileHalJsonCookieTest class core/modules/hal/tests/src/Functional/file/FileHalJsonCookieTest.php @group hal
@group legacy
FileHalJsonCookieTest.php file core/modules/hal/tests/src/Functional/file/FileHalJsonCookieTest.php
FileHalJsonCookieTest::$auth property core/modules/hal/tests/src/Functional/file/FileHalJsonCookieTest.php
FileHalJsonCookieTest::$defaultTheme property core/modules/hal/tests/src/Functional/file/FileHalJsonCookieTest.php
FileInterface interface core/modules/file/src/FileInterface.php Defines getter and setter methods for file entity base fields.
FileInterface.php file core/modules/file/src/FileInterface.php
FileInterface::createFileUrl function core/modules/file/src/FileInterface.php Creates a file URL for the URI of this file.
FileInterface::getCreatedTime function core/modules/file/src/FileInterface.php Returns the file entity creation timestamp.
FileInterface::getFilename function core/modules/file/src/FileInterface.php Returns the name of the file.
FileInterface::getFileUri function core/modules/file/src/FileInterface.php Returns the URI of the file.
FileInterface::getMimeType function core/modules/file/src/FileInterface.php Returns the MIME type of the file.
FileInterface::getSize function core/modules/file/src/FileInterface.php Returns the size of the file.
FileInterface::isPermanent function core/modules/file/src/FileInterface.php Returns TRUE if the file is permanent.
FileInterface::isTemporary function core/modules/file/src/FileInterface.php Returns TRUE if the file is temporary.
FileInterface::setFilename function core/modules/file/src/FileInterface.php Sets the name of the file.
FileInterface::setFileUri function core/modules/file/src/FileInterface.php Sets the URI of the file.
FileInterface::setMimeType function core/modules/file/src/FileInterface.php Sets the MIME type of the file.
FileInterface::setPermanent function core/modules/file/src/FileInterface.php Sets the file status to permanent.
FileInterface::setSize function core/modules/file/src/FileInterface.php Sets the size of the file.
FileInterface::setTemporary function core/modules/file/src/FileInterface.php Sets the file status to temporary.
FileInterface::STATUS_PERMANENT constant core/modules/file/src/FileInterface.php Indicates that the file is permanent and should not be deleted.
FileItem class core/modules/file/src/Plugin/Field/FieldType/FileItem.php Plugin implementation of the 'file' field type.
FileItem.php file core/modules/file/src/Plugin/Field/FieldType/FileItem.php
FileItem::defaultFieldSettings function core/modules/file/src/Plugin/Field/FieldType/FileItem.php
FileItem::defaultStorageSettings function core/modules/file/src/Plugin/Field/FieldType/FileItem.php
FileItem::doGetUploadLocation function core/modules/file/src/Plugin/Field/FieldType/FileItem.php Determines the URI for a file field.
FileItem::fieldSettingsForm function core/modules/file/src/Plugin/Field/FieldType/FileItem.php
FileItem::generateSampleValue function core/modules/file/src/Plugin/Field/FieldType/FileItem.php
FileItem::getPreconfiguredOptions function core/modules/file/src/Plugin/Field/FieldType/FileItem.php
FileItem::getUploadLocation function core/modules/file/src/Plugin/Field/FieldType/FileItem.php Determines the URI for a file field.
FileItem::getUploadValidators function core/modules/file/src/Plugin/Field/FieldType/FileItem.php Retrieves the upload validators for a file field.
FileItem::isDisplayed function core/modules/file/src/Plugin/Field/FieldType/FileItem.php Determines whether an item should be displayed when rendering the field.
FileItem::propertyDefinitions function core/modules/file/src/Plugin/Field/FieldType/FileItem.php
FileItem::schema function core/modules/file/src/Plugin/Field/FieldType/FileItem.php
FileItem::storageSettingsForm function core/modules/file/src/Plugin/Field/FieldType/FileItem.php
FileItem::validateDirectory function core/modules/file/src/Plugin/Field/FieldType/FileItem.php Form API callback.
FileItem::validateExtensions function core/modules/file/src/Plugin/Field/FieldType/FileItem.php Form API callback.
FileItem::validateMaxFilesize function core/modules/file/src/Plugin/Field/FieldType/FileItem.php Form API callback.
FileItemTest class core/modules/file/tests/src/Kernel/FileItemTest.php Tests using entity fields of the file field type.
FileItemTest.php file core/modules/file/tests/src/Kernel/FileItemTest.php
FileItemTest::$directory property core/modules/file/tests/src/Kernel/FileItemTest.php Directory where the sample files are stored.
FileItemTest::$file property core/modules/file/tests/src/Kernel/FileItemTest.php Created file entity.
FileItemTest::$modules property core/modules/file/tests/src/Kernel/FileItemTest.php Modules to enable.
FileItemTest::setUp function core/modules/file/tests/src/Kernel/FileItemTest.php
FileItemTest::testFileItem function core/modules/file/tests/src/Kernel/FileItemTest.php Tests using entity fields of the file field type.
FileItemValidationTest class core/modules/file/tests/src/Kernel/FileItemValidationTest.php Tests that files referenced in file and image fields are always validated.
FileItemValidationTest.php file core/modules/file/tests/src/Kernel/FileItemValidationTest.php
FileItemValidationTest::$modules property core/modules/file/tests/src/Kernel/FileItemValidationTest.php
FileItemValidationTest::$user property core/modules/file/tests/src/Kernel/FileItemValidationTest.php A user.
FileItemValidationTest::getFileTypes function core/modules/file/tests/src/Kernel/FileItemValidationTest.php Provides a list of file types to test.

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