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 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
FileResourceTestBase::getNormalizedPostEntity function core/modules/file/tests/src/Functional/Rest/FileResourceTestBase.php Returns the normalized POST entity.
FileResourceTestBase::makeCurrentUserFileOwner function core/modules/file/tests/src/Functional/Rest/FileResourceTestBase.php Makes the current user the file owner.
FileResourceTestBase::setUpAuthorization function core/modules/file/tests/src/Functional/Rest/FileResourceTestBase.php Sets up the necessary authorization.
FileRouteProvider class core/modules/file/src/Entity/FileRouteProvider.php Provides routes for files.
FileRouteProvider.php file core/modules/file/src/Entity/FileRouteProvider.php
FileRouteProvider::getRoutes function core/modules/file/src/Entity/FileRouteProvider.php Provides routes for entities.
FileSanitizationEventSubscriber class core/modules/file/tests/modules/file_validator_test/src/EventSubscriber/FileSanitizationEventSubscriber.php Provides a file sanitization listener for file upload tests.
FileSanitizationEventSubscriber.php file core/modules/file/tests/modules/file_validator_test/src/EventSubscriber/FileSanitizationEventSubscriber.php
FileSanitizationEventSubscriber::$allowedExtensions property core/modules/file/tests/modules/file_validator_test/src/EventSubscriber/FileSanitizationEventSubscriber.php The allowed extensions.
FileSanitizationEventSubscriber::getAllowedExtensions function core/modules/file/tests/modules/file_validator_test/src/EventSubscriber/FileSanitizationEventSubscriber.php Gets the allowed extensions.
FileSanitizationEventSubscriber::getSubscribedEvents function core/modules/file/tests/modules/file_validator_test/src/EventSubscriber/FileSanitizationEventSubscriber.php
FileSanitizationEventSubscriber::onFileSanitization function core/modules/file/tests/modules/file_validator_test/src/EventSubscriber/FileSanitizationEventSubscriber.php Handles the file sanitization event.
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 Tests 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 install.
FileSaveHtaccessLoggingTest::testHtaccessSave function core/modules/system/tests/src/Functional/File/FileSaveHtaccessLoggingTest.php Tests file_save_htaccess().
FileSaveUploadTest class core/modules/file/tests/src/Kernel/FileSaveUploadTest.php Tests file_save_upload().
FileSaveUploadTest.php file core/modules/file/tests/src/Kernel/FileSaveUploadTest.php
FileSaveUploadTest::$modules property core/modules/file/tests/src/Kernel/FileSaveUploadTest.php Modules to install.
FileSaveUploadTest::setUp function core/modules/file/tests/src/Kernel/FileSaveUploadTest.php
FileSaveUploadTest::testFileSaveUploadEmptyExtensions function core/modules/file/tests/src/Kernel/FileSaveUploadTest.php Tests file_save_upload() with empty extensions.
FileSecurity class core/lib/Drupal/Component/FileSecurity/FileSecurity.php Provides file security functions.
FileSecurity class composer/Plugin/VendorHardening/FileSecurity.php Provides file security functions.
FileSecurity.php file composer/Plugin/VendorHardening/FileSecurity.php
FileSecurity.php file core/lib/Drupal/Component/FileSecurity/FileSecurity.php
FileSecurity::denyPublicAccess function core/lib/Drupal/Component/FileSecurity/FileSecurity.php Returns htaccess directives to block all access to a given directory.
FileSecurity::denyPublicAccess function composer/Plugin/VendorHardening/FileSecurity.php Returns htaccess directives to block all access to a given directory.
FileSecurity::htaccessLines function composer/Plugin/VendorHardening/FileSecurity.php Returns the standard .htaccess lines that Drupal writes.
FileSecurity::htaccessLines function core/lib/Drupal/Component/FileSecurity/FileSecurity.php Returns the standard .htaccess lines that Drupal writes.
FileSecurity::htaccessPreventExecution function core/lib/Drupal/Component/FileSecurity/FileSecurity.php Returns htaccess directives to deny execution in a given directory.
FileSecurity::htaccessPreventExecution function composer/Plugin/VendorHardening/FileSecurity.php Returns htaccess directives to deny execution in a given directory.
FileSecurity::webConfigLines function composer/Plugin/VendorHardening/FileSecurity.php Returns the standard web.config lines for security.
FileSecurity::webConfigLines function core/lib/Drupal/Component/FileSecurity/FileSecurity.php Returns the standard web.config lines for security.
FileSecurity::writeFile function core/lib/Drupal/Component/FileSecurity/FileSecurity.php Writes the contents to the file in the given directory.
FileSecurity::writeFile function composer/Plugin/VendorHardening/FileSecurity.php Writes the contents to the file in the given directory.
FileSecurity::writeHtaccess function composer/Plugin/VendorHardening/FileSecurity.php Writes an .htaccess file in the given directory, if it doesn't exist.
FileSecurity::writeHtaccess function core/lib/Drupal/Component/FileSecurity/FileSecurity.php Writes an .htaccess 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.
FileSecurity::writeWebConfig function composer/Plugin/VendorHardening/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

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