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
GetFilenameTest::register function core/tests/Drupal/KernelTests/Core/Bootstrap/GetFilenameTest.php Registers test-specific services.
GetFilenameTest::testDrupalGetFilename function core/tests/Drupal/KernelTests/Core/Bootstrap/GetFilenameTest.php Tests that drupal_get_filename() works when the file is not in database.
Gettext::fileToDatabase function core/modules/locale/src/Gettext.php Reads the given PO files into the database.
GlossaryStatusFilterTest::setDatabaseDumpFiles function core/modules/views/tests/src/Functional/Update/GlossaryStatusFilterTest.php Set database dump files to be used.
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.
HelpTest::$profile property core/modules/help/tests/src/Functional/HelpTest.php Use the Standard profile to test help implementations of many core modules.
HelpTopicDiscovery::FILE_KEY constant core/modules/help_topics/src/HelpTopicDiscovery.php Defines the key in the discovered data where the file path is stored.
HelpTopicDiscovery::findFiles function core/modules/help_topics/src/HelpTopicDiscovery.php Returns an array of providers keyed by file path.
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.
hook_file_validate function core/modules/file/file.api.php Check that files meet a given criteria.
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().
HtmlOutputPrinterTrait::$browserOutputFile property core/tests/Drupal/Tests/Listeners/HtmlOutputPrinterTrait.php File to write html links to.
I18nProfileField class core/modules/config_translation/src/Plugin/migrate/source/d6/I18nProfileField.php i18n strings profile field source from database.
I18nProfileField.php file core/modules/config_translation/src/Plugin/migrate/source/d6/I18nProfileField.php
I18nProfileFieldTest class core/modules/config_translation/tests/src/Kernel/Plugin/migrate/source/d6/I18nProfileFieldTest.php Tests the i18nProfileField source plugin.
I18nProfileFieldTest.php file core/modules/config_translation/tests/src/Kernel/Plugin/migrate/source/d6/I18nProfileFieldTest.php
I18nProfileFieldTest::$modules property core/modules/config_translation/tests/src/Kernel/Plugin/migrate/source/d6/I18nProfileFieldTest.php Modules to enable.
I18nProfileFieldTest::providerSource function core/modules/config_translation/tests/src/Kernel/Plugin/migrate/source/d6/I18nProfileFieldTest.php The data provider.
IdentifierFieldSchemaTypeUpdateTest::setDatabaseDumpFiles function core/modules/system/tests/src/Functional/Update/IdentifierFieldSchemaTypeUpdateTest.php Set database dump files to be used.
Image::$fileSize property core/lib/Drupal/Core/Image/Image.php File size in bytes.
Image::$fileSystem property core/modules/media/src/Plugin/media/Source/Image.php The file system service.
Image::getFileSize function core/lib/Drupal/Core/Image/Image.php Returns the size of the image file.
ImageDimensionsTest::$profile property core/modules/image/tests/src/Functional/ImageDimensionsTest.php The profile to install as a basis for testing.
ImageFieldAttributesTest::$file property core/modules/rdf/tests/src/Functional/ImageFieldAttributesTest.php The file object used in the test.
ImageFieldTestBase::getLastFileId function core/modules/image/src/Tests/ImageFieldTestBase.php Retrieves the fid of the last inserted file.
ImageFieldTestBase::getLastFileId function core/modules/image/tests/src/Functional/ImageFieldTestBase.php Retrieves the fid of the last inserted file.
ImageInterface::getFileSize function core/lib/Drupal/Core/Image/ImageInterface.php Returns the size of the image file.
ImageStyle::fileDefaultScheme function core/modules/image/src/Entity/ImageStyle.php Provides a wrapper to allow unit testing.
ImageStyle::fileUriScheme function core/modules/image/src/Entity/ImageStyle.php Provides a wrapper for file_uri_scheme() to allow unit testing.
ImageStyle::fileUriTarget function core/modules/image/src/Entity/ImageStyle.php Provides a wrapper for file_uri_target() to allow unit testing.
ImageStyleCustomStreamWrappersTest::$fileSystem property core/modules/image/tests/src/Kernel/ImageStyleCustomStreamWrappersTest.php The file system service.
ImageStyleDependencyUpdateTest::setDatabaseDumpFiles function core/modules/views/tests/src/Functional/Update/ImageStyleDependencyUpdateTest.php Set database dump files to be used.
ImageStyleTest::fileDefaultScheme function core/modules/image/tests/src/Unit/ImageStyleTest.php Mock function for ImageStyle::fileDefaultScheme().
ImageTest::testGetFileSize function core/tests/Drupal/Tests/Core/Image/ImageTest.php Tests \Drupal\Core\Image\Image::getFileSize
ImageTest::testParseFileFails function core/tests/Drupal/Tests/Core/Image/ImageTest.php Tests \Drupal\Core\Image\Image::parseFile().
ImageToolkitInterface::parseFile function core/lib/Drupal/Core/ImageToolkit/ImageToolkitInterface.php Determines if a file contains a valid image.
ImageUpdateTest::setDatabaseDumpFiles function core/modules/image/tests/src/Functional/Update/ImageUpdateTest.php Set database dump files to be used.
image_file_download function core/modules/image/image.module Implements hook_file_download().
image_file_move function core/modules/image/image.module Implements hook_file_move().
image_file_predelete function core/modules/image/image.module Implements hook_ENTITY_TYPE_predelete() for file entities.

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