| 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. |
| 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. |
| ImageFieldTestBase::getLastFileId |
function |
core/modules/image/tests/src/Functional/ImageFieldTestBase.php |
Retrieves the fid of the last inserted file. |
| ImageFormatter::$fileUrlGenerator |
property |
core/modules/image/src/Plugin/Field/FieldFormatter/ImageFormatter.php |
The file URL generator. |
| 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. |
| ImageStyleCustomStreamWrappersTest::$fileSystem |
property |
core/modules/image/tests/src/Kernel/ImageStyleCustomStreamWrappersTest.php |
The file system service. |
| ImageStyleDownloadAccessControlTest::$fileSystem |
property |
core/modules/image/tests/src/Functional/ImageStyleDownloadAccessControlTest.php |
The file system. |
| ImageStyleDownloadController::$fileSystem |
property |
core/modules/image/src/Controller/ImageStyleDownloadController.php |
File system service. |
| ImageStyleTest::fileDefaultScheme |
function |
core/modules/image/tests/src/Unit/ImageStyleTest.php |
Mock function for ImageStyle::fileDefaultScheme(). |
| ImageTest::$file |
property |
core/modules/ckeditor5/tests/src/FunctionalJavascript/ImageTest.php |
The sample image File entity to embed. |
| ImageTest::$fileUrlGenerator |
property |
core/tests/Drupal/KernelTests/Core/Theme/ImageTest.php |
The file URL generator. |
| 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. |
| ImageUploadTest::testFileUploadLargerFileSize |
function |
core/modules/ckeditor5/tests/src/Functional/ImageUploadTest.php |
Tests using the file upload route with a file size larger than allowed. |
| ImageUploadTest::testUploadFileExtension |
function |
core/modules/ckeditor5/tests/src/Functional/ImageUploadTest.php |
Tests using the file upload route with a disallowed extension. |
| 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. |
| image_module_test_file_download |
function |
core/modules/image/tests/modules/image_module_test/image_module_test.module |
|
| Importer::copyFileAssociatedWithEntity |
function |
core/lib/Drupal/Core/DefaultContent/Importer.php |
Copies a file from default content directory to the site's file system. |
| ImportForm::$file |
property |
core/modules/locale/src/Form/ImportForm.php |
Uploaded file entity. |
| InfoParser::$fileCache |
property |
core/lib/Drupal/Core/Extension/InfoParser.php |
The file cache. |
| InfoParserUnitTest::testProfile |
function |
core/tests/Drupal/Tests/Core/Extension/InfoParserUnitTest.php |
Tests a profile info file. |
| InfoWriterTrait::writeInfoFile |
function |
core/tests/Drupal/TestTools/Extension/InfoWriterTrait.php |
Writes the info file and ensures the mtime changes. |
| InlineBlockPrivateFilesTest |
class |
core/modules/layout_builder/tests/src/FunctionalJavascript/InlineBlockPrivateFilesTest.php |
Test access to private files in block fields on the Layout Builder. |
| InlineBlockPrivateFilesTest.php |
file |
core/modules/layout_builder/tests/src/FunctionalJavascript/InlineBlockPrivateFilesTest.php |
|
| InlineBlockPrivateFilesTest::$defaultTheme |
property |
core/modules/layout_builder/tests/src/FunctionalJavascript/InlineBlockPrivateFilesTest.php |
The theme to install as the default for testing. |
| InlineBlockPrivateFilesTest::$fileSystem |
property |
core/modules/layout_builder/tests/src/FunctionalJavascript/InlineBlockPrivateFilesTest.php |
The file system service. |
| InlineBlockPrivateFilesTest::$modules |
property |
core/modules/layout_builder/tests/src/FunctionalJavascript/InlineBlockPrivateFilesTest.php |
Modules to install. |
| InlineBlockPrivateFilesTest::addInlineFileBlockToLayout |
function |
core/modules/layout_builder/tests/src/FunctionalJavascript/InlineBlockPrivateFilesTest.php |
Adds an entity block with a file. |
| InlineBlockPrivateFilesTest::attachFileToBlockForm |
function |
core/modules/layout_builder/tests/src/FunctionalJavascript/InlineBlockPrivateFilesTest.php |
Attaches a file to the block edit form. |
| InlineBlockPrivateFilesTest::createNewNodeRevision |
function |
core/modules/layout_builder/tests/src/FunctionalJavascript/InlineBlockPrivateFilesTest.php |
Create a new revision of the node. |
| InlineBlockPrivateFilesTest::createPrivateFile |
function |
core/modules/layout_builder/tests/src/FunctionalJavascript/InlineBlockPrivateFilesTest.php |
Creates a private file. |
| InlineBlockPrivateFilesTest::getFileHrefAccessibleOnNode |
function |
core/modules/layout_builder/tests/src/FunctionalJavascript/InlineBlockPrivateFilesTest.php |
Returns the href of a file, asserting it is accessible on the page. |
| InlineBlockPrivateFilesTest::getFileSecret |
function |
core/modules/layout_builder/tests/src/FunctionalJavascript/InlineBlockPrivateFilesTest.php |
Gets the text secret for a file. |
| InlineBlockPrivateFilesTest::replaceFileInBlock |
function |
core/modules/layout_builder/tests/src/FunctionalJavascript/InlineBlockPrivateFilesTest.php |
Replaces the file in the block with another one. |
| InlineBlockPrivateFilesTest::setUp |
function |
core/modules/layout_builder/tests/src/FunctionalJavascript/InlineBlockPrivateFilesTest.php |
|