FileNameLengthConstraint::$messageTooLong |
property |
core/modules/file/src/Plugin/Validation/Constraint/FileNameLengthConstraint.php |
The message when file name is too long. |
FileNameLengthConstraintValidator |
class |
core/modules/file/src/Plugin/Validation/Constraint/FileNameLengthConstraintValidator.php |
Validates the file name length constraint. |
FileNameLengthConstraintValidator.php |
file |
core/modules/file/src/Plugin/Validation/Constraint/FileNameLengthConstraintValidator.php |
|
FileNameLengthConstraintValidator::validate |
function |
core/modules/file/src/Plugin/Validation/Constraint/FileNameLengthConstraintValidator.php |
|
FileNameLengthConstraintValidatorTest |
class |
core/modules/file/tests/src/Kernel/Plugin/Validation/Constraint/FileNameLengthConstraintValidatorTest.php |
Tests the FileNameLengthConstraintValidator. |
FileNameLengthConstraintValidatorTest.php |
file |
core/modules/file/tests/src/Kernel/Plugin/Validation/Constraint/FileNameLengthConstraintValidatorTest.php |
|
FileNameLengthConstraintValidatorTest::testFileValidateNameLength |
function |
core/modules/file/tests/src/Kernel/Plugin/Validation/Constraint/FileNameLengthConstraintValidatorTest.php |
This will ensure the filename length is valid. |
FileOnTranslatedEntityTest::$fieldName |
property |
core/modules/file/tests/src/Functional/FileOnTranslatedEntityTest.php |
The name of the file field used in the test. |
FileRepositoryTest::testExistingRename |
function |
core/modules/file/tests/src/Kernel/FileRepositoryTest.php |
Tests writeData() when renaming around an existing file. |
FileRepositoryTest::testWithFilename |
function |
core/modules/file/tests/src/Kernel/FileRepositoryTest.php |
Tests the writeData() method. |
FileResourceTestBase::$patchProtectedFieldNames |
property |
core/modules/file/tests/src/Functional/Rest/FileResourceTestBase.php |
The fields that are protected against modification during PATCH requests. |
FileStorage::getAllCollectionNames |
function |
core/lib/Drupal/Core/Config/FileStorage.php |
Gets the existing collections. |
FileStorage::getAllCollectionNamesHelper |
function |
core/lib/Drupal/Core/Config/FileStorage.php |
Helper function for getAllCollectionNames(). |
FileStorage::getCollectionName |
function |
core/lib/Drupal/Core/Config/FileStorage.php |
Gets the name of the current collection the storage is using. |
FileStorage::rename |
function |
core/lib/Drupal/Core/Config/FileStorage.php |
Renames a configuration object in the storage. |
FileSystem::basename |
function |
core/lib/Drupal/Core/File/FileSystem.php |
|
FileSystem::createFilename |
function |
core/lib/Drupal/Core/File/FileSystem.php |
|
FileSystem::dirname |
function |
core/lib/Drupal/Core/File/FileSystem.php |
|
FileSystem::getDestinationFilename |
function |
core/lib/Drupal/Core/File/FileSystem.php |
|
FileSystemInterface::basename |
function |
core/lib/Drupal/Core/File/FileSystemInterface.php |
Gets the filename from a given path. |
FileSystemInterface::createFilename |
function |
core/lib/Drupal/Core/File/FileSystemInterface.php |
Creates a full file path from a directory and filename. |
FileSystemInterface::dirname |
function |
core/lib/Drupal/Core/File/FileSystemInterface.php |
Gets the name of the directory from a given path. |
FileSystemInterface::EXISTS_RENAME |
constant |
core/lib/Drupal/Core/File/FileSystemInterface.php |
Flag for dealing with existing files: Appends number until name is unique. |
FileSystemInterface::getDestinationFilename |
function |
core/lib/Drupal/Core/File/FileSystemInterface.php |
Determines the destination path for a file. |
FileSystemTest::providerTestBasename |
function |
core/tests/Drupal/Tests/Core/File/FileSystemTest.php |
|
FileSystemTest::testBasename |
function |
core/tests/Drupal/Tests/Core/File/FileSystemTest.php |
@covers ::basename |
FileSystemTest::testCopySelfRename |
function |
core/tests/Drupal/KernelTests/Core/File/FileSystemTest.php |
@covers ::copy |
FileTest::$patchProtectedFieldNames |
property |
core/modules/jsonapi/tests/src/Functional/FileTest.php |
The fields that are protected against modification during PATCH requests. |
FileTest::$resourceTypeName |
property |
core/modules/jsonapi/tests/src/Functional/FileTest.php |
The name of the tested JSON:API resource type. |
FileTestBase::$classname |
property |
core/tests/Drupal/KernelTests/Core/File/FileTestBase.php |
A fully-qualified stream wrapper class name to register for the test. |
FileTestForm::fileExistsFromName |
function |
core/modules/file/tests/file_test/src/Form/FileTestForm.php |
Get a FileExists enum from its name. |
FileTestSaveUploadFromForm::fileExistsFromName |
function |
core/modules/file/tests/file_test/src/Form/FileTestSaveUploadFromForm.php |
Get a FileExists enum from its name. |
FileTransfer::$hostname |
property |
core/lib/Drupal/Core/FileTransfer/FileTransfer.php |
The hostname for this file transfer. |
FileTransfer::$username |
property |
core/lib/Drupal/Core/FileTransfer/FileTransfer.php |
The username for this file transfer. |
FileUploadResource::prepareFilename |
function |
core/modules/file/src/Plugin/rest/resource/FileUploadResource.php |
Prepares the filename to strip out any malicious extensions. |
FileUploadResource::REQUEST_HEADER_FILENAME_REGEX |
constant |
core/modules/file/src/Plugin/rest/resource/FileUploadResource.php |
The regex used to extract the filename from the content disposition header. |
FileUploadResourceTestBase::testFileUploadUnicodeFilename |
function |
core/modules/rest/tests/src/Functional/FileUploadResourceTestBase.php |
Tests using the file upload route with a unicode file name. |
FileUploadResult::$originalFilename |
property |
core/modules/file/src/Upload/FileUploadResult.php |
The original filename. |
FileUploadResult::$sanitizedFilename |
property |
core/modules/file/src/Upload/FileUploadResult.php |
The sanitized filename. |
FileUploadResult::$securityRename |
property |
core/modules/file/src/Upload/FileUploadResult.php |
If the filename was renamed for security reasons. |
FileUploadResult::getOriginalFilename |
function |
core/modules/file/src/Upload/FileUploadResult.php |
Gets the original filename. |
FileUploadResult::getSanitizedFilename |
function |
core/modules/file/src/Upload/FileUploadResult.php |
Gets the sanitized filename. |
FileUploadResult::isRenamed |
function |
core/modules/file/src/Upload/FileUploadResult.php |
Returns if there was a file rename. |
FileUploadResult::isSecurityRename |
function |
core/modules/file/src/Upload/FileUploadResult.php |
Returns if there was a security rename. |
FileUploadResult::setOriginalFilename |
function |
core/modules/file/src/Upload/FileUploadResult.php |
Sets the original filename. |
FileUploadResult::setSanitizedFilename |
function |
core/modules/file/src/Upload/FileUploadResult.php |
Sets the sanitized filename. |
FileUploadResult::setSecurityRename |
function |
core/modules/file/src/Upload/FileUploadResult.php |
Flags the result as having had a security rename. |
FileUploadSanitizeNameEvent |
class |
core/lib/Drupal/Core/File/Event/FileUploadSanitizeNameEvent.php |
An event during file upload that lets subscribers sanitize the filename. |
FileUploadSanitizeNameEvent.php |
file |
core/lib/Drupal/Core/File/Event/FileUploadSanitizeNameEvent.php |
|
FileUploadSanitizeNameEvent::$allowedExtensions |
property |
core/lib/Drupal/Core/File/Event/FileUploadSanitizeNameEvent.php |
A list of allowed extensions. |