Search for file

  1. Search 7.x for file
  2. Search 9.5.x for file
  3. Search 10.3.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
FileFieldWidgetTest::setUp function core/modules/file/tests/src/Functional/FileFieldWidgetTest.php
FileFieldWidgetTest::testMultiValuedWidget function core/modules/file/tests/src/Functional/FileFieldWidgetTest.php Tests upload and remove buttons for multiple multi-valued File fields.
FileFieldWidgetTest::testMultiValuedWidget function core/modules/file/tests/src/FunctionalJavascript/FileFieldWidgetTest.php Tests upload and remove buttons for multiple multi-valued File fields.
FileFieldWidgetTest::testPrivateFileComment function core/modules/file/tests/src/Functional/FileFieldWidgetTest.php Tests that download restrictions on private files work on comments.
FileFieldWidgetTest::testPrivateFileSetting function core/modules/file/tests/src/Functional/FileFieldWidgetTest.php Tests a file field with a "Private files" upload destination setting.
FileFieldWidgetTest::testSingleValuedWidget function core/modules/file/tests/src/Functional/FileFieldWidgetTest.php Tests upload and remove buttons for a single-valued File field.
FileFieldWidgetTest::testSingleValuedWidget function core/modules/file/tests/src/FunctionalJavascript/FileFieldWidgetTest.php Tests uploading and remove buttons for a single-valued File field.
FileFieldWidgetTest::testTemporaryFileRemovalExploit function core/modules/file/tests/src/Functional/FileFieldWidgetTest.php Tests exploiting the temporary file removal of another user using fid.
FileFieldWidgetTest::testTemporaryFileRemovalExploitAnonymous function core/modules/file/tests/src/Functional/FileFieldWidgetTest.php Tests exploiting the temporary file removal for anonymous users using fid.
FileFieldWidgetTest::testUploadingMoreFilesThenAllowed function core/modules/file/tests/src/FunctionalJavascript/FileFieldWidgetTest.php Tests uploading more files then allowed at once.
FileFieldWidgetTest::testWidgetElement function core/modules/file/tests/src/Functional/FileFieldWidgetTest.php Tests file widget element.
FileFieldWidgetTest::testWidgetValidation function core/modules/file/tests/src/Functional/FileFieldWidgetTest.php Tests validation with the Upload button.
FileFormatterBase class core/modules/file/src/Plugin/Field/FieldFormatter/FileFormatterBase.php Base class for file formatters.
FileFormatterBase.php file core/modules/file/src/Plugin/Field/FieldFormatter/FileFormatterBase.php
FileFormatterBase::checkAccess function core/modules/file/src/Plugin/Field/FieldFormatter/FileFormatterBase.php Checks access to the given entity.
FileFormatterBase::needsEntityLoad function core/modules/file/src/Plugin/Field/FieldFormatter/FileFormatterBase.php Returns whether the entity referenced by an item needs to be loaded.
FileHalJsonAnonTest class core/modules/file/tests/src/Functional/Hal/FileHalJsonAnonTest.php @group hal
FileHalJsonAnonTest.php file core/modules/file/tests/src/Functional/Hal/FileHalJsonAnonTest.php
FileHalJsonAnonTest::$defaultTheme property core/modules/file/tests/src/Functional/Hal/FileHalJsonAnonTest.php The theme to install as the default for testing.
FileHalJsonAnonTest::$format property core/modules/file/tests/src/Functional/Hal/FileHalJsonAnonTest.php The format to use in this test.
FileHalJsonAnonTest::$mimeType property core/modules/file/tests/src/Functional/Hal/FileHalJsonAnonTest.php The MIME type that corresponds to $format.
FileHalJsonAnonTest::$modules property core/modules/file/tests/src/Functional/Hal/FileHalJsonAnonTest.php Modules to install.
FileHalJsonAnonTest::getExpectedCacheContexts function core/modules/file/tests/src/Functional/Hal/FileHalJsonAnonTest.php The expected cache contexts for the GET/HEAD response of the test entity.
FileHalJsonAnonTest::getExpectedCacheTags function core/modules/file/tests/src/Functional/Hal/FileHalJsonAnonTest.php The expected cache tags for the GET/HEAD response of the test entity.
FileHalJsonAnonTest::getExpectedNormalizedEntity function core/modules/file/tests/src/Functional/Hal/FileHalJsonAnonTest.php Returns the expected normalization of the entity.
FileHalJsonAnonTest::getNormalizedPostEntity function core/modules/file/tests/src/Functional/Hal/FileHalJsonAnonTest.php Returns the normalized POST entity.
FileHalJsonAnonTest::testGetBcUriField function core/modules/file/tests/src/Functional/Hal/FileHalJsonAnonTest.php @group legacy
@expectedDeprecation Replacing the file uri with the URL is deprecated in drupal:8.8.0 and is removed from drupal:9.0.0. Use the provided url property instead and disable hal.settings:bc_file_uri_as_url_normalizer. See…
FileHalJsonBasicAuthTest class core/modules/file/tests/src/Functional/Hal/FileHalJsonBasicAuthTest.php @group hal
FileHalJsonBasicAuthTest.php file core/modules/file/tests/src/Functional/Hal/FileHalJsonBasicAuthTest.php
FileHalJsonBasicAuthTest::$auth property core/modules/file/tests/src/Functional/Hal/FileHalJsonBasicAuthTest.php The authentication mechanism to use in this test.
FileHalJsonBasicAuthTest::$defaultTheme property core/modules/file/tests/src/Functional/Hal/FileHalJsonBasicAuthTest.php The theme to install as the default for testing.
FileHalJsonBasicAuthTest::$modules property core/modules/file/tests/src/Functional/Hal/FileHalJsonBasicAuthTest.php Modules to install.
FileHalJsonCookieTest class core/modules/file/tests/src/Functional/Hal/FileHalJsonCookieTest.php @group hal
FileHalJsonCookieTest.php file core/modules/file/tests/src/Functional/Hal/FileHalJsonCookieTest.php
FileHalJsonCookieTest::$auth property core/modules/file/tests/src/Functional/Hal/FileHalJsonCookieTest.php The authentication mechanism to use in this test.
FileHalJsonCookieTest::$defaultTheme property core/modules/file/tests/src/Functional/Hal/FileHalJsonCookieTest.php The theme to install as the default for testing.
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.

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