Search for to

  1. Search 7.x for to
  2. Search 8.9.x for to
  3. Search 10.3.x for to
  4. Search 11.x for to
  5. Other projects
Title Object type File name Summary
FileSystemTest::testDestinationDirectoryFailureOnCopy function core/tests/Drupal/KernelTests/Core/File/FileSystemTest.php @covers ::copy[[api-linebreak]]
FileTestBase::assertDirectoryPermissions function core/tests/Drupal/KernelTests/Core/File/FileTestBase.php Helper function to test the permissions of a directory.
FileTestBase::createDirectory function core/tests/Drupal/KernelTests/Core/File/FileTestBase.php Create a directory and assert it exists.
FileTokenReplaceTest class core/modules/file/tests/src/Functional/FileTokenReplaceTest.php Tests file token replacement.
FileTokenReplaceTest.php file core/modules/file/tests/src/Functional/FileTokenReplaceTest.php
FileTokenReplaceTest::$defaultTheme property core/modules/file/tests/src/Functional/FileTokenReplaceTest.php The theme to install as the default for testing.
FileTokenReplaceTest::testFileTokenReplacement function core/modules/file/tests/src/Functional/FileTokenReplaceTest.php Creates a file, then tests the tokens generated from it.
FileTransfer::copyDirectory function core/lib/Drupal/Core/FileTransfer/FileTransfer.php Copies a directory.
FileTransfer::copyDirectoryJailed function core/lib/Drupal/Core/FileTransfer/FileTransfer.php Copies a directory.
FileTransfer::createDirectory function core/lib/Drupal/Core/FileTransfer/FileTransfer.php Creates a directory.
FileTransfer::createDirectoryJailed function core/lib/Drupal/Core/FileTransfer/FileTransfer.php Creates a directory.
FileTransfer::factory function core/lib/Drupal/Core/FileTransfer/FileTransfer.php Defines a factory method for this class.
FileTransfer::isDirectory function core/lib/Drupal/Core/FileTransfer/FileTransfer.php Checks if a particular path is a directory.
FileTransfer::removeDirectory function core/lib/Drupal/Core/FileTransfer/FileTransfer.php Removes a directory.
FileTransfer::removeDirectoryJailed function core/lib/Drupal/Core/FileTransfer/FileTransfer.php Removes a directory.
FileTransferTest::_writeDirectory function core/modules/system/tests/src/Functional/FileTransfer/FileTransferTest.php
FileTranslation::$directory property core/lib/Drupal/Core/StringTranslation/Translator/FileTranslation.php Directory to find translation files in the file system.
FileTranslation::filesToArray function core/lib/Drupal/Core/StringTranslation/Translator/FileTranslation.php Reads the given Gettext PO files into a data structure.
FileUploadForm::$fileRepository property core/modules/media_library/src/Form/FileUploadForm.php The file repository service.
FileUploadForm::removeButtonSubmit function core/modules/media_library/src/Form/FileUploadForm.php Submit handler for the remove button.
FileUploadForm::uploadButtonSubmit function core/modules/media_library/src/Form/FileUploadForm.php Submit handler for the upload button, inside the managed_file element.
FileUploadResource::$token property core/modules/file/src/Plugin/rest/resource/FileUploadResource.php The token replacement instance.
FileUploadResource::BYTES_TO_READ constant core/modules/file/src/Plugin/rest/resource/FileUploadResource.php The amount of bytes to read in each iteration when streaming file data.
FileUploadResource::getUploadValidators function core/modules/file/src/Plugin/rest/resource/FileUploadResource.php Retrieves the upload validators for a field definition.
FileUploadResourceTestBase::$fieldStorage property core/modules/rest/tests/src/Functional/FileUploadResourceTestBase.php The test field storage config.
FileUploadResourceTestBase::$fileStorage property core/modules/rest/tests/src/Functional/FileUploadResourceTestBase.php The entity storage for the 'file' entity type.
FileUploadResult::getOriginalFilename function core/modules/file/src/Upload/FileUploadResult.php Gets the original filename.
FileUploadResult::setOriginalFilename function core/modules/file/src/Upload/FileUploadResult.php Sets the original filename.
FileUploadSanitizeNameEvent::stopPropagation function core/lib/Drupal/Core/File/Event/FileUploadSanitizeNameEvent.php
FileUploadSanitizeNameEventTest::testConstructorException function core/tests/Drupal/Tests/Core/File/FileUploadSanitizeNameEventTest.php @covers ::__construct[[api-linebreak]]
@covers ::setFilename[[api-linebreak]]
FileUploadSanitizeNameEventTest::testStopPropagation function core/tests/Drupal/Tests/Core/File/FileUploadSanitizeNameEventTest.php @covers ::stopPropagation[[api-linebreak]]
FileUploadTest::$fieldStorage property core/modules/jsonapi/tests/src/Functional/FileUploadTest.php The test field storage config.
FileUploadTest::$fileStorage property core/modules/jsonapi/tests/src/Functional/FileUploadTest.php The entity storage for the 'file' entity type.
FileUploadTest::testFileUploadNoDirectorySetting function core/modules/jsonapi/tests/src/Functional/FileUploadTest.php Tests using the file upload POST route no directory configured.
FileUriItemTest::testCustomFileUriField function core/modules/file/tests/src/Kernel/FileUriItemTest.php Tests the file entity override of the URI field.
FileUrlGenerator class core/lib/Drupal/Core/File/FileUrlGenerator.php Default implementation for the file URL generator service.
FileUrlGenerator.php file core/lib/Drupal/Core/File/FileUrlGenerator.php
FileUrlGenerator::$moduleHandler property core/lib/Drupal/Core/File/FileUrlGenerator.php The module handler.
FileUrlGenerator::$requestStack property core/lib/Drupal/Core/File/FileUrlGenerator.php The request stack.
FileUrlGenerator::$streamWrapperManager property core/lib/Drupal/Core/File/FileUrlGenerator.php The stream wrapper manager.
FileUrlGenerator::doGenerateString function core/lib/Drupal/Core/File/FileUrlGenerator.php Creates an absolute web-accessible URL string.
FileUrlGenerator::generate function core/lib/Drupal/Core/File/FileUrlGenerator.php Creates a root-relative web-accessible URL object.
FileUrlGenerator::generateAbsoluteString function core/lib/Drupal/Core/File/FileUrlGenerator.php Creates an absolute web-accessible URL string.
FileUrlGenerator::generatePath function core/lib/Drupal/Core/File/FileUrlGenerator.php Generate a URL path.
FileUrlGenerator::generateString function core/lib/Drupal/Core/File/FileUrlGenerator.php Creates a root-relative web-accessible URL string.
FileUrlGenerator::transformRelative function core/lib/Drupal/Core/File/FileUrlGenerator.php Transforms an absolute URL of a local file to a relative URL.
FileUrlGenerator::__construct function core/lib/Drupal/Core/File/FileUrlGenerator.php Constructs a new file URL generator object.
FileUrlGeneratorInterface interface core/lib/Drupal/Core/File/FileUrlGeneratorInterface.php Generates file URLs for a stream to an external or local file.
FileUrlGeneratorInterface.php file core/lib/Drupal/Core/File/FileUrlGeneratorInterface.php
FileUrlGeneratorInterface::generate function core/lib/Drupal/Core/File/FileUrlGeneratorInterface.php Creates a root-relative web-accessible URL object.

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