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
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 Modules to install.
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.
FileItemValidationTest::setUp function core/modules/file/tests/src/Kernel/FileItemValidationTest.php
FileItemValidationTest::testFileValidationConstraint function core/modules/file/tests/src/Kernel/FileItemValidationTest.php @covers \Drupal\file\Plugin\Validation\Constraint\FileValidationConstraint
@covers \Drupal\file\Plugin\Validation\Constraint\FileValidationConstraintValidator
@dataProvider getFileTypes
FileJsonAnonTest class core/modules/file/tests/src/Functional/Rest/FileJsonAnonTest.php @group rest
FileJsonAnonTest.php file core/modules/file/tests/src/Functional/Rest/FileJsonAnonTest.php
FileJsonAnonTest::$defaultTheme property core/modules/file/tests/src/Functional/Rest/FileJsonAnonTest.php The theme to install as the default for testing.
FileJsonAnonTest::$format property core/modules/file/tests/src/Functional/Rest/FileJsonAnonTest.php The format to use in this test.
FileJsonAnonTest::$mimeType property core/modules/file/tests/src/Functional/Rest/FileJsonAnonTest.php The MIME type that corresponds to $format.
FileJsonBasicAuthTest class core/modules/file/tests/src/Functional/Rest/FileJsonBasicAuthTest.php @group rest
FileJsonBasicAuthTest.php file core/modules/file/tests/src/Functional/Rest/FileJsonBasicAuthTest.php
FileJsonBasicAuthTest::$auth property core/modules/file/tests/src/Functional/Rest/FileJsonBasicAuthTest.php The authentication mechanism to use in this test.
FileJsonBasicAuthTest::$defaultTheme property core/modules/file/tests/src/Functional/Rest/FileJsonBasicAuthTest.php The theme to install as the default for testing.
FileJsonBasicAuthTest::$format property core/modules/file/tests/src/Functional/Rest/FileJsonBasicAuthTest.php The format to use in this test.
FileJsonBasicAuthTest::$mimeType property core/modules/file/tests/src/Functional/Rest/FileJsonBasicAuthTest.php The MIME type that corresponds to $format.
FileJsonBasicAuthTest::$modules property core/modules/file/tests/src/Functional/Rest/FileJsonBasicAuthTest.php Modules to install.
FileJsonCookieTest class core/modules/file/tests/src/Functional/Rest/FileJsonCookieTest.php @group rest
FileJsonCookieTest.php file core/modules/file/tests/src/Functional/Rest/FileJsonCookieTest.php
FileJsonCookieTest::$auth property core/modules/file/tests/src/Functional/Rest/FileJsonCookieTest.php The authentication mechanism to use in this test.
FileJsonCookieTest::$defaultTheme property core/modules/file/tests/src/Functional/Rest/FileJsonCookieTest.php The theme to install as the default for testing.
FileJsonCookieTest::$format property core/modules/file/tests/src/Functional/Rest/FileJsonCookieTest.php The format to use in this test.
FileJsonCookieTest::$mimeType property core/modules/file/tests/src/Functional/Rest/FileJsonCookieTest.php The MIME type that corresponds to $format.
FileListingTest class core/modules/file/tests/src/Functional/FileListingTest.php Tests file listing page functionality.
FileListingTest.php file core/modules/file/tests/src/Functional/FileListingTest.php
FileListingTest::$baseUser property core/modules/file/tests/src/Functional/FileListingTest.php An authenticated user.
FileListingTest::$defaultTheme property core/modules/file/tests/src/Functional/FileListingTest.php The theme to install as the default for testing.
FileListingTest::$modules property core/modules/file/tests/src/Functional/FileListingTest.php Modules to install.
FileListingTest::createFile function core/modules/file/tests/src/Functional/FileListingTest.php Creates and saves a test file.
FileListingTest::setUp function core/modules/file/tests/src/Functional/FileListingTest.php
FileListingTest::sumUsages function core/modules/file/tests/src/Functional/FileListingTest.php Calculates total count of usages for a file.
FileListingTest::testFileListingPages function core/modules/file/tests/src/Functional/FileListingTest.php Tests file overview with different user permissions.
FileListingTest::testFileListingUsageNoLink function core/modules/file/tests/src/Functional/FileListingTest.php Tests file listing usage page for entities with no canonical link template.
FileManagedAccessTest class core/modules/file/tests/src/Kernel/FileManagedAccessTest.php Tests access to managed files.
FileManagedAccessTest.php file core/modules/file/tests/src/Kernel/FileManagedAccessTest.php
FileManagedAccessTest::$modules property core/modules/file/tests/src/Kernel/FileManagedAccessTest.php Modules to install.
FileManagedAccessTest::testFileAccess function core/modules/file/tests/src/Kernel/FileManagedAccessTest.php Tests if public file is always accessible.
FileManagedFileElementTest class core/modules/file/tests/src/FunctionalJavascript/FileManagedFileElementTest.php Tests the 'managed_file' element type.
FileManagedFileElementTest class core/modules/file/tests/src/Functional/FileManagedFileElementTest.php Tests the 'managed_file' element type.
FileManagedFileElementTest.php file core/modules/file/tests/src/Functional/FileManagedFileElementTest.php
FileManagedFileElementTest.php file core/modules/file/tests/src/FunctionalJavascript/FileManagedFileElementTest.php
FileManagedFileElementTest::$adminUser property core/modules/file/tests/src/FunctionalJavascript/FileManagedFileElementTest.php A user with administration permissions.
FileManagedFileElementTest::$defaultTheme property core/modules/file/tests/src/FunctionalJavascript/FileManagedFileElementTest.php The theme to install as the default for testing.
FileManagedFileElementTest::$defaultTheme property core/modules/file/tests/src/Functional/FileManagedFileElementTest.php The theme to install as the default for testing.
FileManagedFileElementTest::$modules property core/modules/file/tests/src/FunctionalJavascript/FileManagedFileElementTest.php Modules to install.
FileManagedFileElementTest::getLastFileId function core/modules/file/tests/src/FunctionalJavascript/FileManagedFileElementTest.php Retrieves the fid of the last inserted file.
FileManagedFileElementTest::setUp function core/modules/file/tests/src/FunctionalJavascript/FileManagedFileElementTest.php
FileManagedFileElementTest::testFileNameTrim function core/modules/file/tests/src/Functional/FileManagedFileElementTest.php Tests file names have leading . removed.

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