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
BaseFileConstraintValidator class core/modules/file/src/Plugin/Validation/Constraint/BaseFileConstraintValidator.php Provides a base class for file constraint validators.
BaseFileConstraintValidator.php file core/modules/file/src/Plugin/Validation/Constraint/BaseFileConstraintValidator.php
BaseFileConstraintValidator::assertValueIsFile function core/modules/file/src/Plugin/Validation/Constraint/BaseFileConstraintValidator.php Checks the value is of type FileInterface.
BatchBidSerialUpdateTest::setDatabaseDumpFiles function core/modules/system/tests/src/Functional/Update/BatchBidSerialUpdateTest.php Set database dump files to be used.
BatchBuilder::$file property core/lib/Drupal/Core/Batch/BatchBuilder.php The file containing the operation and finished callbacks.
BatchBuilder::setFile function core/lib/Drupal/Core/Batch/BatchBuilder.php Sets the file that contains the callback functions.
BatchBuilderTest::testSetFile function core/tests/Drupal/Tests/Core/Batch/BatchBuilderTest.php Tests setFile().
BinaryFileResponseTest class core/tests/Drupal/KernelTests/Core/Http/BinaryFileResponseTest.php Tests the headers added by BinaryFileResponse.
BinaryFileResponseTest.php file core/tests/Drupal/KernelTests/Core/Http/BinaryFileResponseTest.php
BinaryFileResponseTest::$modules property core/tests/Drupal/KernelTests/Core/Http/BinaryFileResponseTest.php Modules to install.
BinaryFileResponseTest::providerTestCalculatedContentType function core/tests/Drupal/KernelTests/Core/Http/BinaryFileResponseTest.php Data provider of file names and expected content-type values.
BinaryFileResponseTest::testCalculatedContentType function core/tests/Drupal/KernelTests/Core/Http/BinaryFileResponseTest.php Test the content type generated by Drupal is correct.
BinaryFileResponseTestController class core/modules/system/tests/modules/binary_file_response_test/src/Controller/BinaryFileResponseTestController.php Controller routines for binary file response tests.
BinaryFileResponseTestController.php file core/modules/system/tests/modules/binary_file_response_test/src/Controller/BinaryFileResponseTestController.php
BinaryFileResponseTestController::download function core/modules/system/tests/modules/binary_file_response_test/src/Controller/BinaryFileResponseTestController.php Download the file set in the relative_file_url query parameter.
binary_file_response_test.info.yml file core/modules/system/tests/modules/binary_file_response_test/binary_file_response_test.info.yml core/modules/system/tests/modules/binary_file_response_test/binary_file_response_test.info.yml
binary_file_response_test.routing.yml file core/modules/system/tests/modules/binary_file_response_test/binary_file_response_test.routing.yml core/modules/system/tests/modules/binary_file_response_test/binary_file_response_test.routing.yml
BlockContentRemoveConstraint::setDatabaseDumpFiles function core/modules/block_content/tests/src/Functional/Update/BlockContentRemoveConstraint.php Set database dump files to be used.
BlockContentReusableIndexUpdatePathTest::setDatabaseDumpFiles function core/modules/block_content/tests/src/Functional/Update/BlockContentReusableIndexUpdatePathTest.php Set database dump files to be used.
BlockContentTestBase::$profile property core/modules/block_content/tests/src/Functional/BlockContentTestBase.php Profile to use.
BlockContentUpdateTest::setDatabaseDumpFiles function core/modules/block_content/tests/src/Functional/Update/BlockContentUpdateTest.php Set database dump files to be used.
BlockWeightUpdateTest::setDatabaseDumpFiles function core/modules/block/tests/src/Functional/BlockWeightUpdateTest.php Set database dump files to be used.
BrowserHtmlDebugTrait::initBrowserOutputFile function core/tests/Drupal/Tests/BrowserHtmlDebugTrait.php Creates the directory to store browser output.
BrowserTestBase::$profile property core/tests/Drupal/Tests/BrowserTestBase.php The profile to install as a basis for testing.
BrowserTestBase::$translationFilesDirectory property core/tests/Drupal/Tests/BrowserTestBase.php The translation file directory for the test environment.
BrowserTestBase::filePreDeleteCallback function core/tests/Drupal/Tests/BrowserTestBase.php Ensures test files are deletable.
BrowserTestBaseTest::testProfileModules function core/tests/Drupal/FunctionalTests/BrowserTestBaseTest.php Ensures we can't access modules we shouldn't be able to after install.
CachedStorageTest::$fileStorage property core/tests/Drupal/KernelTests/Core/Config/Storage/CachedStorageTest.php The file storage the cached storage is using.
CKEditor5ImageController::generateLockIdFromFileUri function core/modules/ckeditor5/src/Controller/CKEditor5ImageController.php Generates a lock ID based on the file URI.
CKEditor5Test::testEditorFileReferenceIntegration function core/modules/ckeditor5/tests/src/FunctionalJavascript/CKEditor5Test.php Ensures that CKEditor 5 integrates with file reference filter.
CKEditor5UpdateCodeBlockConfigurationTest::setDatabaseDumpFiles function core/modules/ckeditor5/tests/src/Functional/Update/CKEditor5UpdateCodeBlockConfigurationTest.php Set database dump files to be used.
CKEditor5UpdateImageToolbarItemTest::setDatabaseDumpFiles function core/modules/ckeditor5/tests/src/Functional/Update/CKEditor5UpdateImageToolbarItemTest.php Set database dump files to be used.
CKEditor5UpdateListMultiBlockTest::setDatabaseDumpFiles function core/modules/ckeditor5/tests/src/Functional/Update/CKEditor5UpdateListMultiBlockTest.php Set database dump files to be used.
CKEditor5UpdateOlStartReversed::setDatabaseDumpFiles function core/modules/ckeditor5/tests/src/Functional/Update/CKEditor5UpdateOlStartReversed.php Set database dump files to be used.
CKEditor5UpdatePluginSettingsSortTest::setDatabaseDumpFiles function core/modules/ckeditor5/tests/src/Functional/Update/CKEditor5UpdatePluginSettingsSortTest.php Set database dump files to be used.
ClaroPreRender::managedFile function core/themes/claro/src/ClaroPreRender.php Prerender callback for managed_file.
claro_preprocess_file_managed_file function core/themes/claro/claro.theme Implements hook_preprocess_HOOK() for file_managed_file.
claro_preprocess_file_widget_multiple function core/themes/claro/claro.theme Implements hook_preprocess_HOOK() for file_widget_multiple.
ClassFinder::findFile function core/lib/Drupal/Component/ClassFinder/ClassFinder.php Finds a class.
ClassFinderInterface::findFile function core/lib/Drupal/Component/ClassFinder/ClassFinderInterface.php Finds a class.
ClassFinderTest::testFindFile function core/tests/Drupal/Tests/Component/ClassFinder/ClassFinderTest.php @covers ::findFile
ClassLoaderTest::testAutoloadFromModuleFile function core/modules/system/tests/src/Functional/Module/ClassLoaderTest.php Tests that .module files can use class constants in main section.
ClassWriter::flushAlteredCodeToFile function core/tests/Drupal/TestTools/PhpUnitCompatibility/ClassWriter.php Flushes altered class code to file when necessary.
CommentStatusFieldAccessTest::$profile property core/modules/comment/tests/src/Functional/CommentStatusFieldAccessTest.php The profile to install as a basis for testing.
ComponentPluginManagerTest::testFindEmptyMetadataFile function core/tests/Drupal/KernelTests/Components/ComponentPluginManagerTest.php Test that components render correctly.
ComponentPluginManagerTest::testFindEmptyMetadataFile function core/tests/Drupal/Tests/Core/Theme/Component/ComponentPluginManagerTest.php Test that components render correctly.
ComponentPluginManagerTest::testFindEmptyMetadataFile function core/modules/sdc/tests/src/Kernel/ComponentPluginManagerTest.php Test that components render correctly.
ComposerHookTest::$fileSystem property core/tests/Drupal/Tests/Composer/Plugin/Scaffold/Functional/ComposerHookTest.php The Symfony FileSystem component.
ComposerInspectorTest::testComposerFilesDoNotExist function core/modules/package_manager/tests/src/Kernel/ComposerInspectorTest.php Tests what happens when composer.json or composer.lock are missing.
ComposerIntegrationTest::providerTestExpectedScaffoldFiles function core/tests/Drupal/Tests/ComposerIntegrationTest.php Data provider for the scaffold files test for Drupal core.

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