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 10.3.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
FileRepositoryTest::testEntityStorageException function core/modules/file/tests/src/Kernel/FileRepositoryTest.php Tests for entity storage exception.
FileRepositoryTest::testExistingError function core/modules/file/tests/src/Kernel/FileRepositoryTest.php Tests that writeData() fails overwriting an existing file.
FileRepositoryTest::testExistingRename function core/modules/file/tests/src/Kernel/FileRepositoryTest.php Tests writeData() when renaming around an existing file.
FileRepositoryTest::testExistingReplace function core/modules/file/tests/src/Kernel/FileRepositoryTest.php Tests writeData() when replacing an existing file.
FileRepositoryTest::testInvalidStreamWrapper function core/modules/file/tests/src/Kernel/FileRepositoryTest.php Tests for an invalid stream wrapper.
FileRepositoryTest::testLoadByUri function core/modules/file/tests/src/Kernel/FileRepositoryTest.php Tests loading a file by URI.
FileRepositoryTest::testLoadByUriCaseSensitive function core/modules/file/tests/src/Kernel/FileRepositoryTest.php Tests loading a file by case-sensitive URI.
FileRepositoryTest::testWithFilename function core/modules/file/tests/src/Kernel/FileRepositoryTest.php Tests the writeData() method.
FileRequiredTestForm class core/modules/file/tests/file_test/src/Form/FileRequiredTestForm.php File required test form class.
FileRequiredTestForm.php file core/modules/file/tests/file_test/src/Form/FileRequiredTestForm.php
FileRequiredTestForm::buildForm function core/modules/file/tests/file_test/src/Form/FileRequiredTestForm.php Form constructor.
FileRequiredTestForm::getFormId function core/modules/file/tests/file_test/src/Form/FileRequiredTestForm.php Returns a unique string identifying the form.
FileResourceTestBase class core/modules/file/tests/src/Functional/Rest/FileResourceTestBase.php Resource test base for file entity.
FileResourceTestBase.php file core/modules/file/tests/src/Functional/Rest/FileResourceTestBase.php
FileResourceTestBase::$author property core/modules/file/tests/src/Functional/Rest/FileResourceTestBase.php
FileResourceTestBase::$entity property core/modules/file/tests/src/Functional/Rest/FileResourceTestBase.php
FileResourceTestBase::$entityTypeId property core/modules/file/tests/src/Functional/Rest/FileResourceTestBase.php The tested entity type.
FileResourceTestBase::$modules property core/modules/file/tests/src/Functional/Rest/FileResourceTestBase.php Modules to install.
FileResourceTestBase::$patchProtectedFieldNames property core/modules/file/tests/src/Functional/Rest/FileResourceTestBase.php The fields that are protected against modification during PATCH requests.
FileResourceTestBase::createEntity function core/modules/file/tests/src/Functional/Rest/FileResourceTestBase.php Creates the entity to be tested.
FileResourceTestBase::fileResourceTestBaseSkipTests function core/modules/file/tests/src/Functional/Rest/FileResourceTestBase.php Marks some tests as skipped because XML cannot be deserialized.
FileResourceTestBase::getExpectedCacheContexts function core/modules/file/tests/src/Functional/Rest/FileResourceTestBase.php The expected cache contexts for the GET/HEAD response of the test entity.
FileResourceTestBase::getExpectedNormalizedEntity function core/modules/file/tests/src/Functional/Rest/FileResourceTestBase.php Returns the expected normalization of the entity.
FileResourceTestBase::getExpectedUnauthorizedAccessMessage function core/modules/file/tests/src/Functional/Rest/FileResourceTestBase.php Return the expected error message.
FileResourceTestBase::getNormalizedPatchEntity function core/modules/file/tests/src/Functional/Rest/FileResourceTestBase.php Returns the normalized PATCH entity.
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.
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 the HtaccessWriter service.
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 the HtaccessWriter service write functionality.
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::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.

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