Search for files

  1. Search 7.x for files
  2. Search 8.9.x for files
  3. Search 10.3.x for files
  4. Search 11.x for files
  5. Other projects
Title Object type File name Summary
HelpTopicDiscovery::findFiles function core/modules/help_topics/src/HelpTopicDiscovery.php Returns an array of providers keyed by file path.
HtaccessTest::getProtectedFiles function core/modules/system/tests/src/Functional/System/HtaccessTest.php Get an array of file paths for access testing.
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.
ImageInterface::getFileSize function core/lib/Drupal/Core/Image/ImageInterface.php Returns the size of the image file.
ImageLazyLoadUpdateTest::setDatabaseDumpFiles function core/modules/image/tests/src/Functional/ImageLazyLoadUpdateTest.php Set database dump files to be used.
ImageStyleCustomStreamWrappersTest::$fileSystem property core/modules/image/tests/src/Kernel/ImageStyleCustomStreamWrappersTest.php The file system service.
ImageStyleDownloadController::$fileSystem property core/modules/image/src/Controller/ImageStyleDownloadController.php File system service.
ImageTest::testGetFileSize function core/tests/Drupal/Tests/Core/Image/ImageTest.php Tests \Drupal\Core\Image\Image::getFileSize.
ImageUploadTest::testFileUploadLargerFileSize function core/modules/ckeditor5/tests/src/Functional/ImageUploadTest.php Tests using the file upload route with a file size larger than allowed.
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 enable.
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
InlineBlockPrivateFilesTest::testPrivateFiles function core/modules/layout_builder/tests/src/FunctionalJavascript/InlineBlockPrivateFilesTest.php Tests access to private files added to inline blocks in the layout builder.
InstallCommand::getProfiles function core/lib/Drupal/Core/Command/InstallCommand.php Gets a list of profiles.
InstallerLanguageTest::testInstallerTranslationFiles function core/tests/Drupal/KernelTests/Core/Installer/InstallerLanguageTest.php Tests that the installer can find translation files.
InstallHelper::$fileSystem property core/profiles/demo_umami/modules/demo_umami_content/src/InstallHelper.php The file system.
InstallTranslationFilePatternTest::providerInvalidTranslationFiles function core/modules/system/tests/src/Kernel/Installer/InstallTranslationFilePatternTest.php
InstallTranslationFilePatternTest::providerValidTranslationFiles function core/modules/system/tests/src/Kernel/Installer/InstallTranslationFilePatternTest.php
InstallTranslationFilePatternTest::testFilesPatternInvalid function core/modules/system/tests/src/Kernel/Installer/InstallTranslationFilePatternTest.php @dataProvider providerInvalidTranslationFiles
InstallTranslationFilePatternTest::testFilesPatternValid function core/modules/system/tests/src/Kernel/Installer/InstallTranslationFilePatternTest.php @dataProvider providerValidTranslationFiles
JsCollectionOptimizer::$fileSystem property core/lib/Drupal/Core/Asset/JsCollectionOptimizer.php The file system service.
JsonApiFunctionalTestBase::$files property core/modules/jsonapi/tests/src/Functional/JsonApiFunctionalTestBase.php Test files.
JsonApiFunctionalTestBase::$userCanViewProfiles property core/modules/jsonapi/tests/src/Functional/JsonApiFunctionalTestBase.php Test user with access to view profiles.
JsonApiUpdatePathTest::setDatabaseDumpFiles function core/modules/jsonapi/tests/src/Functional/Update/JsonApiUpdatePathTest.php Set database dump files to be used.
KernelTestBase::setUpFilesystem function core/tests/Drupal/KernelTests/KernelTestBase.php Sets up the filesystem, so things like the file directory.
Language::getCssFiles function core/modules/ckeditor/src/Plugin/CKEditorPlugin/Language.php Retrieves enabled plugins' iframe instance CSS files.
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::testFileSaveUploadSingleErrorFormSize function core/modules/file/tests/src/Kernel/LegacyFileTest.php Tests file size upload errors.
LegacyFileTest::testViewsFileStatus function core/modules/file/tests/src/Kernel/LegacyFileTest.php Tests the deprecation of _views_file_status().
LlamaCss::getCssFiles function core/modules/ckeditor/tests/modules/src/Plugin/CKEditorPlugin/LlamaCss.php Retrieves enabled plugins' iframe instance CSS files.
Local::$fileSystem property core/lib/Drupal/Core/FileTransfer/Local.php The file system service.
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

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