Search for files

  1. Search 7.x for files
  2. Search 9.5.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
FileItem::validateMaxFilesize function core/modules/file/src/Plugin/Field/FieldType/FileItem.php Form API callback.
FileMediaFormatterBase::getSourceFiles function core/modules/file/src/Plugin/Field/FieldFormatter/FileMediaFormatterBase.php Gets source files with attributes.
FileMigrationTestTrait::setUpMigratedFiles function core/modules/file/tests/src/Kernel/Migrate/d6/FileMigrationTestTrait.php Setup and execute d6_file migration.
FileModuleTest::testFileSaveUploadSingleErrorFormSize function core/modules/file/tests/src/Kernel/FileModuleTest.php Tests file size upload errors.
FileOnTranslatedEntityTest::testSyncedFiles function core/modules/file/tests/src/Functional/FileOnTranslatedEntityTest.php Tests synced file fields on translated nodes.
FileSaveDataTest class core/tests/Drupal/KernelTests/Core/File/FileSaveDataTest.php Tests the file_unmanaged_save_data() function.
FileSaveDataTest.php file core/tests/Drupal/KernelTests/Core/File/FileSaveDataTest.php
FileSaveDataTest::testFileSaveData function core/tests/Drupal/KernelTests/Core/File/FileSaveDataTest.php Test the file_unmanaged_save_data() function.
FileSaveHtaccessLoggingTest class core/modules/system/tests/src/Functional/File/FileSaveHtaccessLoggingTest.php Tests the log message added by file_save_htaccess().
FileSaveHtaccessLoggingTest.php file core/modules/system/tests/src/Functional/File/FileSaveHtaccessLoggingTest.php
FileSaveHtaccessLoggingTest::$defaultTheme property core/modules/system/tests/src/Functional/File/FileSaveHtaccessLoggingTest.php The theme to install as the default for testing.
FileSaveHtaccessLoggingTest::$modules property core/modules/system/tests/src/Functional/File/FileSaveHtaccessLoggingTest.php Modules to enable.
FileSaveHtaccessLoggingTest::testHtaccessSave function core/modules/system/tests/src/Functional/File/FileSaveHtaccessLoggingTest.php Tests file_save_htaccess().
FileSecurity class composer/Plugin/VendorHardening/FileSecurity.php Provides file security functions.
FileSecurity class core/lib/Drupal/Component/FileSecurity/FileSecurity.php Provides file security functions.
FileSecurity.php file core/lib/Drupal/Component/FileSecurity/FileSecurity.php
FileSecurity.php file composer/Plugin/VendorHardening/FileSecurity.php
FileSecurity::denyPublicAccess function composer/Plugin/VendorHardening/FileSecurity.php Returns htaccess directives to block all access to a given directory.
FileSecurity::denyPublicAccess function core/lib/Drupal/Component/FileSecurity/FileSecurity.php Returns htaccess directives to block all access to a given directory.
FileSecurity::htaccessLines function core/lib/Drupal/Component/FileSecurity/FileSecurity.php Returns the standard .htaccess lines that Drupal writes.
FileSecurity::htaccessLines function composer/Plugin/VendorHardening/FileSecurity.php Returns the standard .htaccess lines that Drupal writes.
FileSecurity::htaccessPreventExecution function composer/Plugin/VendorHardening/FileSecurity.php Returns htaccess directives to deny execution in a given directory.
FileSecurity::htaccessPreventExecution function core/lib/Drupal/Component/FileSecurity/FileSecurity.php Returns htaccess directives to deny execution in a given directory.
FileSecurity::webConfigLines function core/lib/Drupal/Component/FileSecurity/FileSecurity.php Returns the standard web.config lines for security.
FileSecurity::webConfigLines function composer/Plugin/VendorHardening/FileSecurity.php Returns the standard web.config lines for security.
FileSecurity::writeFile function composer/Plugin/VendorHardening/FileSecurity.php Writes the contents to the file in the given directory.
FileSecurity::writeFile function core/lib/Drupal/Component/FileSecurity/FileSecurity.php Writes the contents to the file in the given directory.
FileSecurity::writeHtaccess function core/lib/Drupal/Component/FileSecurity/FileSecurity.php Writes an .htaccess file in the given directory, if it doesn't exist.
FileSecurity::writeHtaccess function composer/Plugin/VendorHardening/FileSecurity.php Writes an .htaccess file in the given directory, if it doesn't exist.
FileSecurity::writeWebConfig function composer/Plugin/VendorHardening/FileSecurity.php Writes a web.config file in the given directory, if it doesn't exist.
FileSecurity::writeWebConfig function core/lib/Drupal/Component/FileSecurity/FileSecurity.php Writes a web.config file in the given directory, if it doesn't exist.
FileSecurityTest class core/tests/Drupal/Tests/Component/FileSecurity/FileSecurityTest.php Tests the file security component.
FileSecurityTest.php file core/tests/Drupal/Tests/Component/FileSecurity/FileSecurityTest.php
FileSecurityTest::testWriteHtaccessFailure function core/tests/Drupal/Tests/Component/FileSecurity/FileSecurityTest.php @covers ::writeHtaccess
FileSecurityTest::testWriteHtaccessForceOverwrite function core/tests/Drupal/Tests/Component/FileSecurity/FileSecurityTest.php @covers ::writeHtaccess
FileSecurityTest::testWriteHtaccessPrivate function core/tests/Drupal/Tests/Component/FileSecurity/FileSecurityTest.php @covers ::writeHtaccess
FileSecurityTest::testWriteHtaccessPublic function core/tests/Drupal/Tests/Component/FileSecurity/FileSecurityTest.php @covers ::writeHtaccess
FileSecurityTest::testWriteWebConfig function core/tests/Drupal/Tests/Component/FileSecurity/FileSecurityTest.php @covers ::writeWebConfig
FileSecurityTest::testWriteWebConfigFailure function core/tests/Drupal/Tests/Component/FileSecurity/FileSecurityTest.php @covers ::writeWebConfig
FileSecurityTest::testWriteWebConfigForceOverwrite function core/tests/Drupal/Tests/Component/FileSecurity/FileSecurityTest.php @covers ::writeWebConfig
FileSelection class core/modules/file/src/Plugin/EntityReferenceSelection/FileSelection.php Provides specific access control for the file entity type.
FileSelection.php file core/modules/file/src/Plugin/EntityReferenceSelection/FileSelection.php
FileSelection::buildEntityQuery function core/modules/file/src/Plugin/EntityReferenceSelection/FileSelection.php Builds an EntityQuery to get referenceable entities.
FileSelection::createNewEntity function core/modules/file/src/Plugin/EntityReferenceSelection/FileSelection.php Creates a new entity object that can be used as a valid reference.
FileSelection::validateReferenceableNewEntities function core/modules/file/src/Plugin/EntityReferenceSelection/FileSelection.php Validates which newly created entities can be referenced.
FileServiceProvider class core/modules/file/src/FileServiceProvider.php Adds 'application/octet-stream' as a known (bin) format.
FileServiceProvider.php file core/modules/file/src/FileServiceProvider.php
FileServiceProvider::alter function core/modules/file/src/FileServiceProvider.php Modifies existing service definitions.
FileSize class core/modules/file/src/Plugin/Field/FieldFormatter/FileSize.php Formatter that shows the file size in a human readable way.
FileSize class core/modules/views/src/Plugin/views/field/FileSize.php Render a numeric value as a size.

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