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
GenerateThemeTest::testNoRenameMissingFilesWarning function core/tests/Drupal/BuildTests/Command/GenerateThemeTest.php
GenericFileFormatter class core/modules/file/src/Plugin/Field/FieldFormatter/GenericFileFormatter.php Plugin implementation of the 'file_default' formatter.
GenericFileFormatter.php file core/modules/file/src/Plugin/Field/FieldFormatter/GenericFileFormatter.php
GenericFileFormatter::viewElements function core/modules/file/src/Plugin/Field/FieldFormatter/GenericFileFormatter.php Builds a renderable array for a field value.
GenericRecipeTestBase::$profile property core/modules/system/tests/src/Functional/Recipe/GenericRecipeTestBase.php The profile to install as a basis for testing.
Gettext::fileToDatabase function core/modules/locale/src/Gettext.php Reads the given PO files into the database.
Handler::getFileMappingsFromPackages function composer/Plugin/Scaffold/Handler.php Gets a consolidated list of file mappings from all allowed packages.
Handler::getPackageFileMappings function composer/Plugin/Scaffold/Handler.php Gets the array of file mappings provided by a given package.
HelpTopicDiscovery::FILE_KEY constant core/modules/help/src/HelpTopicDiscovery.php Defines the key in the discovered data where the file path is stored.
HelpTopicDiscovery::findFiles function core/modules/help/src/HelpTopicDiscovery.php Returns an array of providers keyed by file path.
HookCollectorPassTest::setUpFilesystem function core/tests/Drupal/KernelTests/Core/Hook/HookCollectorPassTest.php VFS does not and can not support symlinks.
HookCollectorPassTest::testHooksImplementedOnBehalfFileCache function core/tests/Drupal/KernelTests/Core/Hook/HookCollectorPassTest.php Test hooks implemented on behalf of an uninstalled module.
hook_filetransfer_info function core/lib/Drupal/Core/File/file.api.php Register information about FileTransfer classes provided by a module.
hook_filetransfer_info_alter function core/lib/Drupal/Core/File/file.api.php Alter the FileTransfer class registry.
hook_file_copy function core/modules/file/file.api.php Respond to a file that has been copied.
hook_file_download function core/lib/Drupal/Core/File/file.api.php Control access to private file downloads and specify HTTP headers.
hook_file_mimetype_mapping_alter function core/lib/Drupal/Core/File/file.api.php Alter MIME type mappings used to determine MIME type from a file extension.
hook_file_move function core/modules/file/file.api.php Respond to a file that has been moved.
hook_file_url_alter function core/lib/Drupal/Core/File/file.api.php Alter the URL to a file.
HtaccessTest::assertFileAccess function core/modules/system/tests/src/Functional/System/HtaccessTest.php Asserts that a file exists and requesting it returns a specific response.
HtaccessTest::assertFilePermissions function core/tests/Drupal/KernelTests/Core/File/HtaccessTest.php Asserts expected file permissions for a given file.
HtaccessTest::getProtectedFiles function core/modules/system/tests/src/Functional/System/HtaccessTest.php Get an array of file paths for access testing.
HtaccessTest::testFileAccess function core/modules/system/tests/src/Functional/System/HtaccessTest.php Iterates over protected files and calls assertNoFileAccess().
HtmlOutputLogger::$browserOutputFile property core/tests/Drupal/TestTools/Extension/HtmlLogging/HtmlOutputLogger.php A file with list of links to HTML pages generated.
IconExtractorWithFinder::getFilesFromSources function core/lib/Drupal/Core/Theme/Icon/IconExtractorWithFinder.php Create files data from sources config.
IconExtractorWithFinderInterface::getFilesFromSources function core/lib/Drupal/Core/Theme/Icon/IconExtractorWithFinderInterface.php Create files data from sources config.
IconFinder::extractIconIdFromFilename function core/lib/Drupal/Core/Theme/Icon/IconFinder.php Check if {icon_id} is a part of the name and need to be extracted.
IconFinder::findFiles function core/lib/Drupal/Core/Theme/Icon/IconFinder.php Creates a Finder instance with configured patterns and return result.
IconFinder::getFileContents function core/lib/Drupal/Core/Theme/Icon/IconFinder.php Wrapper to the file_get_contents function.
IconFinder::getFileFromUrl function core/lib/Drupal/Core/Theme/Icon/IconFinder.php Get filename from an URL source.
IconFinder::getFilesFromPath function core/lib/Drupal/Core/Theme/Icon/IconFinder.php Get files from a local path.
IconFinder::getFilesFromSources function core/lib/Drupal/Core/Theme/Icon/IconFinder.php Create files from source paths.
IconFinder::processFoundFiles function core/lib/Drupal/Core/Theme/Icon/IconFinder.php Process files and format icon information.
IconFinderInterface::getFileContents function core/lib/Drupal/Core/Theme/Icon/IconFinderInterface.php Wrapper to the file_get_contents function.
IconFinderInterface::getFilesFromSources function core/lib/Drupal/Core/Theme/Icon/IconFinderInterface.php Create files from source paths.
IconFinderTest::$fileUrlGenerator property core/tests/Drupal/Tests/Core/Theme/Icon/IconFinderTest.php The file url generator instance.
IconFinderTest::providerExtractIconIdFromFilename function core/tests/Drupal/Tests/Core/Theme/Icon/IconFinderTest.php Data provider for ::testExtractIconIdFromFilename().
IconFinderTest::providerGetFileContents function core/tests/Drupal/Tests/Core/Theme/Icon/IconFinderTest.php Data provider for ::testGetFileContents().
IconFinderTest::providerGetFilesFromSourcesPath function core/tests/Drupal/Tests/Core/Theme/Icon/IconFinderTest.php Data provider for ::testGetFilesFromSourcesPath().
IconFinderTest::providerGetFilesFromSourcesUrl function core/tests/Drupal/Tests/Core/Theme/Icon/IconFinderTest.php Data provider for ::testGetFilesFromSourcesUrl().
IconFinderTest::testExtractIconIdFromFilename function core/tests/Drupal/Tests/Core/Theme/Icon/IconFinderTest.php Test the IconFinder::extractIconIdFromFilename method.
IconFinderTest::testExtractIconIdFromFilenameWarning function core/tests/Drupal/Tests/Core/Theme/Icon/IconFinderTest.php Test the IconFinder::extractIconIdFromFilename method with failing pattern.
IconFinderTest::testFindFilesEmptyWarning function core/tests/Drupal/Tests/Core/Theme/Icon/IconFinderTest.php Test the IconFinder::findFiles method with warning when no icons found.
IconFinderTest::testFindFilesWarning function core/tests/Drupal/Tests/Core/Theme/Icon/IconFinderTest.php Test the IconFinder::findFiles method with warning with invalid path.
IconFinderTest::testGetFileContents function core/tests/Drupal/Tests/Core/Theme/Icon/IconFinderTest.php Test the IconFinder::getFileContents method.
IconFinderTest::testGetFileFromUrlWarning function core/tests/Drupal/Tests/Core/Theme/Icon/IconFinderTest.php Test the IconFinder::getFileFromUrl method with warning.
IconFinderTest::testGetFilesFromPathEmptyWarning function core/tests/Drupal/Tests/Core/Theme/Icon/IconFinderTest.php Test the IconFinder::getFilesFromPath method with warning.
IconFinderTest::testGetFilesFromPathInvalidExtensionWarning function core/tests/Drupal/Tests/Core/Theme/Icon/IconFinderTest.php Test the IconFinder::getFilesFromPath method with warning.
IconFinderTest::testGetFilesFromSourcesPath function core/tests/Drupal/Tests/Core/Theme/Icon/IconFinderTest.php Test the IconFinder::getFilesFromSources method with paths.
IconFinderTest::testGetFilesFromSourcesUrl function core/tests/Drupal/Tests/Core/Theme/Icon/IconFinderTest.php Test the IconFinder::getFilesFromSources method with urls.

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