Search for filename
- Search 7.x for filename
- Search 9.5.x for filename
- Search 8.9.x for filename
- Search 11.x for filename
- Other projects
Title | Object type | File name | Summary |
---|---|---|---|
AssetOptimizationTest::replaceFileNamePrefix | function | core/ |
Replaces the filename prefix in the given URL. |
ContentDispositionFilenameParser | class | core/ |
Parses the content-disposition header to extract the client filename. |
ContentDispositionFilenameParser.php | file | core/ |
|
ContentDispositionFilenameParser::parseFilename | function | core/ |
Parse the content disposition header and return the filename. |
ContentDispositionFilenameParser::REQUEST_HEADER_FILENAME_REGEX | constant | core/ |
The regex used to extract the filename from the content disposition header. |
ContentDispositionFilenameParser::__construct | function | core/ |
Private constructor to prevent instantiation. |
ContentDispositionFilenameParserTest | class | core/ |
Tests the ContentDispositionFilenameParser class. |
ContentDispositionFilenameParserTest.php | file | core/ |
|
ContentDispositionFilenameParserTest::createRequest | function | core/ |
Creates a request with the given content-disposition header. |
ContentDispositionFilenameParserTest::invalidHeaderProvider | function | core/ |
A data provider for invalid headers. |
ContentDispositionFilenameParserTest::testParseFilenameExtended | function | core/ |
@covers ::parseFilename[[api-linebreak]] |
ContentDispositionFilenameParserTest::testParseFilenameInvalid | function | core/ |
@covers ::parseFilename[[api-linebreak]] @dataProvider invalidHeaderProvider |
ContentDispositionFilenameParserTest::testParseFilenameMissing | function | core/ |
@covers ::parseFilename[[api-linebreak]] |
ContentDispositionFilenameParserTest::testParseFilenameSuccess | function | core/ |
Tests the parseFilename() method. |
DatabaseDriver::getExtensionFilename | function | core/ |
Returns the name of the main extension file, if any. |
DatabaseDriver::getFilename | function | core/ |
Returns the filename of the extension's info file. |
FileEventSubscriber::sanitizeFilename | function | core/ |
Sanitizes the filename of a file being uploaded. |
FileNameLengthConstraint | class | core/ |
File name length constraint. |
FileNameLengthConstraint.php | file | core/ |
|
FileNameLengthConstraint::$maxLength | property | core/ |
The maximum file name length. |
FileNameLengthConstraint::$messageEmpty | property | core/ |
The message when file name is empty. |
FileNameLengthConstraint::$messageTooLong | property | core/ |
The message when file name is too long. |
FileNameLengthConstraintValidator | class | core/ |
Validates the file name length constraint. |
FileNameLengthConstraintValidator.php | file | core/ |
|
FileNameLengthConstraintValidator::validate | function | core/ |
|
FileNameLengthConstraintValidatorTest | class | core/ |
Tests the FileNameLengthConstraintValidator. |
FileNameLengthConstraintValidatorTest.php | file | core/ |
|
FileNameLengthConstraintValidatorTest::testFileValidateNameLength | function | core/ |
This will ensure the filename length is valid. |
InputStreamUploadedFile::getFilename | function | core/ |
Gets the filename. |
InstallerTranslationNonStandardFilenamesTest | class | core/ |
Tests non-standard named translation files get imported during install. |
InstallerTranslationNonStandardFilenamesTest.php | file | core/ |
|
InstallerTranslationNonStandardFilenamesTest::prepareEnvironment | function | core/ |
Prepares the current environment for running the test. |
InstallerTranslationNonStandardFilenamesTest::prepareSettings | function | core/ |
Prepares site settings and services before installation. |
LegacyFileSystemTest::testGetDestinationFilenameWithDeprecatedFileExists | function | core/ |
@covers ::getDestinationFilename[[api-linebreak]] |
SanitizeNameTest::provideFilenames | function | core/ |
Provides data for testFileNameTransliteration(). |
SanitizeNameTest::testFileNameTransliteration | function | core/ |
Test file name sanitization. |
UploadedFileConstraintValidatorTest::$filename | property | core/ |
The file name. |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.