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. 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
Language::getFile function core/modules/ckeditor/src/Plugin/CKEditorPlugin/Language.php Returns the Drupal root-relative file path to the plugin JavaScript file.
LayoutBuilderContextMappingUpdatePathTest::setDatabaseDumpFiles function core/modules/layout_builder/tests/src/Functional/Update/LayoutBuilderContextMappingUpdatePathTest.php Set database dump files to be used.
LayoutPluginManagerTest::setUpFilesystem function core/tests/Drupal/Tests/Core/Layout/LayoutPluginManagerTest.php Sets up the filesystem with YAML files and annotated plugins.
LegacyFileTest class core/modules/file/tests/src/Kernel/LegacyFileTest.php Tests deprecated file functions.
LegacyFileTest.php file core/modules/file/tests/src/Kernel/LegacyFileTest.php
LegacyFileTest::testCopy function core/modules/file/tests/src/Kernel/LegacyFileTest.php Tests the file_copy deprecation and legacy behavior.
LegacyFileTest::testFileSaveUploadSingleErrorFormSize function core/modules/file/tests/src/Kernel/LegacyFileTest.php Tests file size upload errors.
LegacyFileTest::testMove function core/modules/file/tests/src/Kernel/LegacyFileTest.php Tests the file_copy deprecation and legacy behavior.
LegacyFileTest::testSaveData function core/modules/file/tests/src/Kernel/LegacyFileTest.php Tests file_save_data deprecation and that it works without a destination.
LegacyFileTest::testViewsFileStatus function core/modules/file/tests/src/Kernel/LegacyFileTest.php Tests the deprecation of _views_file_status().
LibrariesDirectoryFileFinder class core/lib/Drupal/Core/Asset/LibrariesDirectoryFileFinder.php Finds files that are located in the supported 'libraries' directories.
LibrariesDirectoryFileFinder.php file core/lib/Drupal/Core/Asset/LibrariesDirectoryFileFinder.php
LibrariesDirectoryFileFinder::$installProfile property core/lib/Drupal/Core/Asset/LibrariesDirectoryFileFinder.php The install profile.
LibrariesDirectoryFileFinder::$profileExtensionList property core/lib/Drupal/Core/Asset/LibrariesDirectoryFileFinder.php The profile extension list.
LibrariesDirectoryFileFinder::$root property core/lib/Drupal/Core/Asset/LibrariesDirectoryFileFinder.php The app root.
LibrariesDirectoryFileFinder::$sitePath property core/lib/Drupal/Core/Asset/LibrariesDirectoryFileFinder.php The site path.
LibrariesDirectoryFileFinder::find function core/lib/Drupal/Core/Asset/LibrariesDirectoryFileFinder.php Finds files that are located in the supported 'libraries' directories.
LibrariesDirectoryFileFinder::__construct function core/lib/Drupal/Core/Asset/LibrariesDirectoryFileFinder.php Constructs a new LibrariesDirectoryFileFinder instance.
LibrariesDirectoryFileFinderTest class core/tests/Drupal/Tests/Core/Asset/LibrariesDirectoryFileFinderTest.php @coversDefaultClass \Drupal\Core\Asset\LibrariesDirectoryFileFinder
@group Asset
LibrariesDirectoryFileFinderTest.php file core/tests/Drupal/Tests/Core/Asset/LibrariesDirectoryFileFinderTest.php
LibrariesDirectoryFileFinderTest::testFind function core/tests/Drupal/Tests/Core/Asset/LibrariesDirectoryFileFinderTest.php @covers ::find
library.libraries_directory_file_finder service core/core.services.yml Drupal\Core\Asset\LibrariesDirectoryFileFinder
LibraryDiscoveryParser::$librariesDirectoryFileFinder property core/lib/Drupal/Core/Asset/LibraryDiscoveryParser.php The libraries directory file finder.
LibraryDiscoveryParserTest::$librariesDirectoryFileFinder property core/tests/Drupal/Tests/Core/Asset/LibraryDiscoveryParserTest.php The mocked libraries directory file finder.
LibraryDiscoveryParserTest::testBuildByExtensionWithMissingLibraryFile function core/tests/Drupal/Tests/Core/Asset/LibraryDiscoveryParserTest.php Tests that a module with a missing library file results in FALSE.
LibraryDiscoveryParserTest::testEmptyLibraryFile function core/tests/Drupal/Tests/Core/Asset/LibraryDiscoveryParserTest.php @covers ::parseLibraryInfo
LibraryDiscoveryParserTest::testInvalidLibrariesFile function core/tests/Drupal/Tests/Core/Asset/LibraryDiscoveryParserTest.php Tests that an exception is thrown when a libraries file couldn't be parsed.
Llama::getFile function core/modules/ckeditor/tests/modules/src/Plugin/CKEditorPlugin/Llama.php Returns the Drupal root-relative file path to the plugin JavaScript file.
LlamaButton::getFile function core/modules/ckeditor/tests/modules/src/Plugin/CKEditorPlugin/LlamaButton.php Returns the Drupal root-relative file path to the plugin JavaScript file.
LlamaContextual::getFile function core/modules/ckeditor/tests/modules/src/Plugin/CKEditorPlugin/LlamaContextual.php Returns the Drupal root-relative file path to the plugin JavaScript file.
LlamaContextualAndButton::getFile function core/modules/ckeditor/tests/modules/src/Plugin/CKEditorPlugin/LlamaContextualAndButton.php Returns the Drupal root-relative file path to the plugin JavaScript file.
LlamaCss::getCssFiles function core/modules/ckeditor/tests/modules/src/Plugin/CKEditorPlugin/LlamaCss.php Retrieves enabled plugins' iframe instance CSS files.
LlamaCss::getFile function core/modules/ckeditor/tests/modules/src/Plugin/CKEditorPlugin/LlamaCss.php Returns the Drupal root-relative file path to the plugin JavaScript file.
LoadTest::testLoadMissingFilepath function core/modules/file/tests/src/Kernel/LoadTest.php Try to load a non-existent file by URI.
Local::$fileSystem property core/lib/Drupal/Core/FileTransfer/Local.php The file system service.
Local::copyFileJailed function core/lib/Drupal/Core/FileTransfer/Local.php Copies a file.
Local::isFile function core/lib/Drupal/Core/FileTransfer/Local.php Checks if a particular path is a file (not a directory).
Local::removeFileJailed function core/lib/Drupal/Core/FileTransfer/Local.php Removes a file.
LocaleExportTest::getCustomPoFile function core/modules/locale/tests/src/Functional/LocaleExportTest.php Returns a .po file that will be marked as customized.
LocaleExportTest::getPoFile function core/modules/locale/tests/src/Functional/LocaleExportTest.php Helper function that returns a proper .po file.
LocaleExportTest::testExportTranslationTemplateFile function core/modules/locale/tests/src/Functional/LocaleExportTest.php Tests exportation of translation template file.
LocaleFileSystemFormTest class core/modules/locale/tests/src/Functional/LocaleFileSystemFormTest.php Tests the locale functionality in the altered file settings form.
LocaleFileSystemFormTest.php file core/modules/locale/tests/src/Functional/LocaleFileSystemFormTest.php
LocaleFileSystemFormTest::$defaultTheme property core/modules/locale/tests/src/Functional/LocaleFileSystemFormTest.php The theme to install as the default for testing.
LocaleFileSystemFormTest::$modules property core/modules/locale/tests/src/Functional/LocaleFileSystemFormTest.php Modules to enable.
LocaleFileSystemFormTest::setUp function core/modules/locale/tests/src/Functional/LocaleFileSystemFormTest.php
LocaleFileSystemFormTest::testFileConfigurationPage function core/modules/locale/tests/src/Functional/LocaleFileSystemFormTest.php Tests translation directory settings on the file settings form.
LocaleImportFunctionalTest::getBadPoFile function core/modules/locale/tests/src/Functional/LocaleImportFunctionalTest.php Helper function that returns a bad .po file.
LocaleImportFunctionalTest::getCustomOverwritePoFile function core/modules/locale/tests/src/Functional/LocaleImportFunctionalTest.php Helper function that returns a .po file for testing customized strings.
LocaleImportFunctionalTest::getCustomPoFile function core/modules/locale/tests/src/Functional/LocaleImportFunctionalTest.php Returns a .po file that will be marked as customized.

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