ExtensionViewsFieldTest::testFileExtensionTarOption |
function |
core/modules/file/tests/src/Kernel/Views/ExtensionViewsFieldTest.php |
Tests file extension views field handler extension_detect_tar option. |
file.mime_type.guesser.extension |
service |
core/core.services.yml |
Drupal\Core\File\MimeType\ExtensionMimeTypeGuesser |
FileEntityFormatterTest::testFormatterFileExtension |
function |
core/modules/file/tests/src/Kernel/Formatter/FileEntityFormatterTest.php |
Tests the file_extension field formatter. |
FileExtensionFormatter |
class |
core/modules/file/src/Plugin/Field/FieldFormatter/FileExtensionFormatter.php |
Formatter to render a filename as file extension. |
FileExtensionFormatter.php |
file |
core/modules/file/src/Plugin/Field/FieldFormatter/FileExtensionFormatter.php |
|
FileExtensionFormatter::defaultSettings |
function |
core/modules/file/src/Plugin/Field/FieldFormatter/FileExtensionFormatter.php |
Defines the default settings for this plugin. |
FileExtensionFormatter::isApplicable |
function |
core/modules/file/src/Plugin/Field/FieldFormatter/FileExtensionFormatter.php |
Returns if the formatter can be used for the provided field. |
FileExtensionFormatter::settingsForm |
function |
core/modules/file/src/Plugin/Field/FieldFormatter/FileExtensionFormatter.php |
Returns a form to configure settings for the formatter. |
FileExtensionFormatter::viewValue |
function |
core/modules/file/src/Plugin/Field/FieldFormatter/FileExtensionFormatter.php |
Generate the output appropriate for one field item. |
FileFieldValidateTest::testFileExtension |
function |
core/modules/file/tests/src/Functional/FileFieldValidateTest.php |
Tests file extension checking. |
FileItem::validateExtensions |
function |
core/modules/file/src/Plugin/Field/FieldType/FileItem.php |
Form API callback. |
FileStorage::getFileExtension |
function |
core/lib/Drupal/Core/Config/FileStorage.php |
Returns the file extension used by the file storage for all configuration files. |
FileUploadResourceTestBase::testFileUploadMaliciousExtension |
function |
core/modules/rest/tests/src/Functional/FileUploadResourceTestBase.php |
Tests using the file upload POST route with malicious extensions. |
FileUploadResourceTestBase::testFileUploadNoExtensionSetting |
function |
core/modules/rest/tests/src/Functional/FileUploadResourceTestBase.php |
Tests using the file upload POST route no extension configured. |
FileUploadTest::testFileUploadMaliciousExtension |
function |
core/modules/jsonapi/tests/src/Functional/FileUploadTest.php |
Tests using the file upload POST route with malicious extensions. |
FileUploadTest::testFileUploadNoExtensionSetting |
function |
core/modules/jsonapi/tests/src/Functional/FileUploadTest.php |
Tests using the file upload POST route no extension configured. |
FILE_INSECURE_EXTENSION_REGEX |
constant |
core/modules/file/file.module |
The regex pattern used when checking for insecure file types. |
file_validate_extensions |
function |
core/modules/file/file.module |
Checks that the filename ends with an allowed extension. |
FTPExtension |
class |
core/lib/Drupal/Core/FileTransfer/FTPExtension.php |
Defines a file transfer class using the PHP FTP extension. |
FTPExtension.php |
file |
core/lib/Drupal/Core/FileTransfer/FTPExtension.php |
|
FTPExtension::chmodJailed |
function |
core/lib/Drupal/Core/FileTransfer/FTPExtension.php |
Changes the permissions of the file / directory specified in $path |
FTPExtension::connect |
function |
core/lib/Drupal/Core/FileTransfer/FTPExtension.php |
Connects to the server. |
FTPExtension::copyFileJailed |
function |
core/lib/Drupal/Core/FileTransfer/FTPExtension.php |
Copies a file. |
FTPExtension::createDirectoryJailed |
function |
core/lib/Drupal/Core/FileTransfer/FTPExtension.php |
Creates a directory. |
FTPExtension::isDirectory |
function |
core/lib/Drupal/Core/FileTransfer/FTPExtension.php |
Checks if a particular path is a directory. |
FTPExtension::isFile |
function |
core/lib/Drupal/Core/FileTransfer/FTPExtension.php |
Checks if a particular path is a file (not a directory). |
FTPExtension::removeDirectoryJailed |
function |
core/lib/Drupal/Core/FileTransfer/FTPExtension.php |
Removes a directory. |
FTPExtension::removeFileJailed |
function |
core/lib/Drupal/Core/FileTransfer/FTPExtension.php |
Removes a file. |
GDToolkit::extensionToImageType |
function |
core/modules/system/src/Plugin/ImageToolkit/GDToolkit.php |
Returns the IMAGETYPE_xxx constant for the given extension. |
GDToolkit::getSupportedExtensions |
function |
core/modules/system/src/Plugin/ImageToolkit/GDToolkit.php |
Returns a list of image file extensions supported by the toolkit. |
HelpController::$moduleExtensionList |
property |
core/modules/help/src/Controller/HelpController.php |
The module extension list. |
HelpTopicDiscoveryTest::testHelpTopicsExtensionProviderSpecialCase |
function |
core/modules/help_topics/tests/src/Unit/HelpTopicDiscoveryTest.php |
@covers ::findAll |
HelpTopicTwigLoader::addExtension |
function |
core/modules/help_topics/src/HelpTopicTwigLoader.php |
Adds an extensions help_topics directory to the Twig loader. |
hook_extension |
function |
core/lib/Drupal/Core/Render/theme.api.php |
Declare a template file extension to be used with a theme engine. |
ImageEffectBase::getDerivativeExtension |
function |
core/modules/image/src/ImageEffectBase.php |
Returns the extension of the derivative after applying this image effect. |
ImageEffectInterface::getDerivativeExtension |
function |
core/modules/image/src/ImageEffectInterface.php |
Returns the extension of the derivative after applying this image effect. |
ImageFactory::getSupportedExtensions |
function |
core/lib/Drupal/Core/Image/ImageFactory.php |
Returns the image file extensions supported by the toolkit. |
ImageStyle::addExtension |
function |
core/modules/image/src/Entity/ImageStyle.php |
Adds an extension to a path. |
ImageStyle::getDerivativeExtension |
function |
core/modules/image/src/Entity/ImageStyle.php |
Determines the extension of the derivative without generating it. |
ImageStyleInterface::getDerivativeExtension |
function |
core/modules/image/src/ImageStyleInterface.php |
Determines the extension of the derivative without generating it. |
ImageStyleTest::testGetDerivativeExtension |
function |
core/modules/image/tests/src/Unit/ImageStyleTest.php |
@covers ::getDerivativeExtension |
ImageToolkitInterface::getSupportedExtensions |
function |
core/lib/Drupal/Core/ImageToolkit/ImageToolkitInterface.php |
Returns a list of image file extensions supported by the toolkit. |
InstallerModuleExtensionList |
class |
core/lib/Drupal/Core/Installer/InstallerModuleExtensionList.php |
Overrides the module extension list to have a static cache. |
InstallerModuleExtensionList.php |
file |
core/lib/Drupal/Core/Installer/InstallerModuleExtensionList.php |
|
InstallerThemeEngineExtensionList |
class |
core/lib/Drupal/Core/Installer/InstallerThemeEngineExtensionList.php |
Overrides the theme engine extension list to have a static cache. |
InstallerThemeEngineExtensionList.php |
file |
core/lib/Drupal/Core/Installer/InstallerThemeEngineExtensionList.php |
|
InstallerThemeExtensionList |
class |
core/lib/Drupal/Core/Installer/InstallerThemeExtensionList.php |
Overrides the theme extension list to have a static cache. |
InstallerThemeExtensionList.php |
file |
core/lib/Drupal/Core/Installer/InstallerThemeExtensionList.php |
|
Json::getFileExtension |
function |
core/lib/Drupal/Component/Serialization/Json.php |
Gets the file extension for this serialization format. |
KernelTestBase::getExtensionsForModules |
function |
core/tests/Drupal/KernelTests/KernelTestBase.php |
Returns Extension objects for $modules to enable. |