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 |
ContentDispositionFilenameParserTest::testParseFilenameInvalid | function | core/ |
@covers ::parseFilename @dataProvider invalidHeaderProvider |
ContentDispositionFilenameParserTest::testParseFilenameMissing | function | core/ |
@covers ::parseFilename |
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. |
DrupalKernel::getModuleFileNames | function | core/ |
Gets the file name for each enabled module. |
Extension::$filename | property | core/ |
The filename of the main extension file (e.g., 'node.module'). |
Extension::getExtensionFilename | function | core/ |
Returns the name of the main extension file, if any. |
Extension::getFilename | function | core/ |
Returns the filename of the extension's info file. |
File::getFilename | function | core/ |
Returns the name of the file. |
File::setFilename | function | core/ |
Sets the name of the file. |
FileEventSubscriber::sanitizeFilename | function | core/ |
Sanitizes the filename of a file being uploaded. |
FileInterface::getFilename | function | core/ |
Returns the name of the file. |
FileInterface::setFilename | function | core/ |
Sets the name of the file. |
FileManagedFileElementTest::testFileNameTrim | function | core/ |
Tests file names have leading . removed. |
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. |
FileRepositoryTest::testWithFilename | function | core/ |
Tests the writeData() method. |
FileSystem::createFilename | function | core/ |
|
FileSystem::getDestinationFilename | function | core/ |
|
FileSystemInterface::createFilename | function | core/ |
Creates a full file path from a directory and filename. |
FileSystemInterface::getDestinationFilename | function | core/ |
Determines the destination path for a file. |
FileUploadResource::prepareFilename | function | core/ |
Prepares the filename to strip out any malicious extensions. |
FileUploadResource::REQUEST_HEADER_FILENAME_REGEX | constant | core/ |
The regex used to extract the filename from the content disposition header. |
FileUploadResourceTestBase::testFileUploadUnicodeFilename | function | core/ |
Tests using the file upload route with a unicode file name. |
FileUploadResult::$originalFilename | property | core/ |
The original filename. |
FileUploadResult::$sanitizedFilename | property | core/ |
The sanitized filename. |
FileUploadResult::getOriginalFilename | function | core/ |
Gets the original filename. |
FileUploadResult::getSanitizedFilename | function | core/ |
Gets the sanitized filename. |
FileUploadResult::setOriginalFilename | function | core/ |
Sets the original filename. |
Pagination
- Page 1
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.