File::getFilename |
function |
core/modules/file/src/Entity/File.php |
Returns the name of the file. |
File::setFilename |
function |
core/modules/file/src/Entity/File.php |
Sets the name of the file. |
MockFileFinder::$filename |
property |
core/lib/Drupal/Component/Annotation/Reflection/MockFileFinder.php |
The only filename this finder ever returns. |
FileInterface::getFilename |
function |
core/modules/file/src/FileInterface.php |
Returns the name of the file. |
FileInterface::setFilename |
function |
core/modules/file/src/FileInterface.php |
Sets the name of the file. |
FileNameLengthConstraint.php |
file |
core/modules/file/src/Plugin/Validation/Constraint/FileNameLengthConstraint.php |
|
FormUploadedFile::getFilename |
function |
core/modules/file/src/Upload/FormUploadedFile.php |
Gets the filename. |
MigrateFileTest::$tempFilename |
property |
core/modules/file/tests/src/Kernel/Migrate/d6/MigrateFileTest.php |
The filename of a file used to test temporary file migration. |
ContentDispositionFilenameParser |
class |
core/modules/file/src/Upload/ContentDispositionFilenameParser.php |
Parses the content-disposition header to extract the client filename. |
DrupalKernel::getModuleFileNames |
function |
core/lib/Drupal/Core/DrupalKernel.php |
Gets the file name for each enabled module. |
FileNameLengthConstraintValidator |
class |
core/modules/file/src/Plugin/Validation/Constraint/FileNameLengthConstraintValidator.php |
Validates the file name length constraint. |
StaticReflectionClass::getFileName |
function |
core/lib/Drupal/Component/Annotation/Doctrine/StaticReflectionClass.php |
|
SanitizeNameTest::provideFilenames |
function |
core/modules/file/tests/src/Unit/SanitizeNameTest.php |
Provides data for testFileNameTransliteration(). |
FileValidationException::$fileName |
property |
core/modules/file/src/Upload/FileValidationException.php |
The file name. |
UploadedFileInterface::getFilename |
function |
core/modules/file/src/Upload/UploadedFileInterface.php |
Gets the filename. |
FileSystemInterface::createFilename |
function |
core/lib/Drupal/Core/File/FileSystemInterface.php |
Creates a full file path from a directory and filename. |
ContentDispositionFilenameParser.php |
file |
core/modules/file/src/Upload/ContentDispositionFilenameParser.php |
|
FileValidationException::getFilename |
function |
core/modules/file/src/Upload/FileValidationException.php |
Gets the file name. |
FileRepositoryTest::testWithFilename |
function |
core/modules/file/tests/src/Kernel/FileRepositoryTest.php |
Tests the writeData() method. |
FileNameLengthConstraintValidator.php |
file |
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. |
FileUploadSanitizeNameEvent::$filename |
property |
core/lib/Drupal/Core/File/Event/FileUploadSanitizeNameEvent.php |
The name of the file being uploaded. |
TwigEnvironmentTest::testCacheFilename |
function |
core/tests/Drupal/KernelTests/Core/Theme/TwigEnvironmentTest.php |
Ensures that cacheFilename() varies by extensions + deployment identifier. |
FileUploadSanitizeNameEvent::getFilename |
function |
core/lib/Drupal/Core/File/Event/FileUploadSanitizeNameEvent.php |
Gets the filename. |
FileUploadSanitizeNameEvent::setFilename |
function |
core/lib/Drupal/Core/File/Event/FileUploadSanitizeNameEvent.php |
Sets the filename. |
ContentDispositionFilenameParserTest.php |
file |
core/modules/file/tests/src/Unit/Upload/ContentDispositionFilenameParserTest.php |
|
MediaSource::$default_thumbnail_filename |
property |
core/modules/media/src/Annotation/MediaSource.php |
A filename for the default thumbnail. |
FileNameLengthConstraintValidatorTest.php |
file |
core/modules/file/tests/src/Kernel/Plugin/Validation/Constraint/FileNameLengthConstraintValidatorTest.php |
|
YamlDiscoveryTest::testFilenameForBrokenYml |
function |
core/tests/Drupal/Tests/Core/Discovery/YamlDiscoveryTest.php |
Tests if filename is output for a broken YAML file. |
FileNameLengthConstraintValidator::validate |
function |
core/modules/file/src/Plugin/Validation/Constraint/FileNameLengthConstraintValidator.php |
|
FileSystemInterface::getDestinationFilename |
function |
core/lib/Drupal/Core/File/FileSystemInterface.php |
Determines the destination path for a file. |
FileManagedFileElementTest::testFileNameTrim |
function |
core/modules/file/tests/src/Functional/FileManagedFileElementTest.php |
Tests file names have leading . removed. |
AssetOptimizationTest::replaceFileNamePrefix |
function |
core/tests/Drupal/FunctionalTests/Asset/AssetOptimizationTest.php |
Replaces the filename prefix in the given URL. |
InstallerTranslationNonStandardFilenamesTest |
class |
core/tests/Drupal/FunctionalTests/Installer/InstallerTranslationNonStandardFilenamesTest.php |
Tests non-standard named translation files get imported during install. |
ContentDispositionFilenameParser::__construct |
function |
core/modules/file/src/Upload/ContentDispositionFilenameParser.php |
Private constructor to prevent instantiation. |
FileUploadTest::testFileUploadUnicodeFilename |
function |
core/modules/jsonapi/tests/src/Functional/FileUploadTest.php |
Tests using the file upload route with a unicode file name. |
SanitizeNameTest::testFileNameTransliteration |
function |
core/modules/file/tests/src/Unit/SanitizeNameTest.php |
Test file name sanitization. |
UpdateUploadTest::testFileNameExtensionMerging |
function |
core/modules/update/tests/src/Functional/UpdateUploadTest.php |
Ensures that archiver extensions are properly merged in the UI. |
ContentDispositionFilenameParser::parseFilename |
function |
core/modules/file/src/Upload/ContentDispositionFilenameParser.php |
Parse the content disposition header and return the filename. |
InstallerTranslationNonStandardFilenamesTest.php |
file |
core/tests/Drupal/FunctionalTests/Installer/InstallerTranslationNonStandardFilenamesTest.php |
|
FileUploadSanitizeNameEventTest::testSetFilename |
function |
core/tests/Drupal/Tests/Core/File/FileUploadSanitizeNameEventTest.php |
@covers ::setFilename
@covers ::getFilename |
TwigPhpStorageCache::$templateCacheFilenamePrefix |
property |
core/lib/Drupal/Core/Template/TwigPhpStorageCache.php |
The template cache filename prefix. |
FileUploadSanitizeNameEventTest::provideFilenames |
function |
core/tests/Drupal/Tests/Core/File/FileUploadSanitizeNameEventTest.php |
Provides data for testEventFilenameFunctions(). |
SecurityFileUploadEventSubscriberTest::provideFilenames |
function |
core/modules/system/tests/src/Unit/Event/SecurityFileUploadEventSubscriberTest.php |
Provides data for testSanitizeName(). |
FileUploadResourceTestBase::testFileUploadUnicodeFilename |
function |
core/modules/rest/tests/src/Functional/FileUploadResourceTestBase.php |
Tests using the file upload route with a unicode file name. |
FileUploadSanitizeNameEventTest::testSetFilenameException |
function |
core/tests/Drupal/Tests/Core/File/FileUploadSanitizeNameEventTest.php |
@covers ::setFilename |
FileUploadSanitizeNameEventTest::testEventFilenameFunctions |
function |
core/tests/Drupal/Tests/Core/File/FileUploadSanitizeNameEventTest.php |
Test event construction. |
InstallerTranslationNonStandardFilenamesTest::prepareSettings |
function |
core/tests/Drupal/FunctionalTests/Installer/InstallerTranslationNonStandardFilenamesTest.php |
|
SecurityFileUploadEventSubscriberTest::provideFilenamesNoMunge |
function |
core/modules/system/tests/src/Unit/Event/SecurityFileUploadEventSubscriberTest.php |
Provides data for testSanitizeNameNoMunge(). |
ContentDispositionFilenameParser::REQUEST_HEADER_FILENAME_REGEX |
constant |
core/modules/file/src/Upload/ContentDispositionFilenameParser.php |
The regex used to extract the filename from the content disposition header. |