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
FileJsonCookieTest::$mimeType property core/modules/file/tests/src/Functional/Rest/FileJsonCookieTest.php The MIME type that corresponds to $format.
FileLegacyTest class core/modules/file/tests/src/Kernel/FileLegacyTest.php Tests file deprecations.
FileLegacyTest.php file core/modules/file/tests/src/Kernel/FileLegacyTest.php
FileLegacyTest::$modules property core/modules/file/tests/src/Kernel/FileLegacyTest.php Modules to enable.
FileLegacyTest::setUp function core/modules/file/tests/src/Kernel/FileLegacyTest.php Set the default field storage backend for fields created during tests.
FileLegacyTest::testEntityLegacyCode function core/modules/file/tests/src/Kernel/FileLegacyTest.php @expectedDeprecation file_load_multiple() is deprecated in Drupal 8.0.0 and will be removed before Drupal 9.0.0. Use \Drupal\file\Entity\File::loadMultiple(). See https://www.drupal.org/node/2266845
@expectedDeprecation file_load() is deprecated in…
FileLegacyTest::testFileUrlDeprecation function core/modules/file/tests/src/Kernel/FileLegacyTest.php Tests that File::url() is deprecated.
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 enable.
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 enable.
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 enable.
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.
FileManagedFileElementTest::testFileRemovedFromDisk function core/modules/file/tests/src/Functional/FileManagedFileElementTest.php Ensure a file entity can be saved when the file does not exist on disk.
FileManagedFileElementTest::testManagedFile function core/modules/file/tests/src/Functional/FileManagedFileElementTest.php Tests the managed_file element type.
FileManagedFileElementTest::testManagedFile function core/modules/file/tests/src/FunctionalJavascript/FileManagedFileElementTest.php Tests the managed_file element type.
FileManagedFileElementTest::testManagedFileRemoved function core/modules/file/tests/src/Functional/FileManagedFileElementTest.php Ensure that warning is shown if file on the field has been removed.
FileManagedFileElementTest::testUnusedPermanentFileValidation function core/modules/file/tests/src/Functional/FileManagedFileElementTest.php Verify that unused permanent files can be used.
FileManagedTestBase class core/modules/file/tests/src/Functional/FileManagedTestBase.php Base class for file tests that use the file_test module to test uploads and
hooks.
FileManagedTestBase class core/modules/file/src/Tests/FileManagedTestBase.php Base class for file tests that use the file_test module to test uploads and
hooks.
FileManagedTestBase.php file core/modules/file/src/Tests/FileManagedTestBase.php
FileManagedTestBase.php file core/modules/file/tests/src/Functional/FileManagedTestBase.php
FileManagedTestBase::$modules property core/modules/file/tests/src/Functional/FileManagedTestBase.php Modules to enable.
FileManagedTestBase::$modules property core/modules/file/src/Tests/FileManagedTestBase.php Modules to enable.
FileManagedTestBase::assertDifferentFile function core/modules/file/src/Tests/FileManagedTestBase.php Asserts that two files are not the same by comparing the fid and filepath.
FileManagedTestBase::assertDifferentFile function core/modules/file/tests/src/Functional/FileManagedTestBase.php Asserts that two files are not the same by comparing the fid and filepath.
FileManagedTestBase::assertFileHookCalled function core/modules/file/tests/src/Functional/FileManagedTestBase.php Assert that a hook_file_* hook was called a certain number of times.
FileManagedTestBase::assertFileHookCalled function core/modules/file/src/Tests/FileManagedTestBase.php Assert that a hook_file_* hook was called a certain number of times.
FileManagedTestBase::assertFileHooksCalled function core/modules/file/src/Tests/FileManagedTestBase.php Assert that all of the specified hook_file_* hooks were called once, other
values result in failure.
FileManagedTestBase::assertFileHooksCalled function core/modules/file/tests/src/Functional/FileManagedTestBase.php Assert that all of the specified hook_file_* hooks were called once, other
values result in failure.
FileManagedTestBase::assertFileUnchanged function core/modules/file/tests/src/Functional/FileManagedTestBase.php Asserts that two files have the same values (except timestamp).

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