| FileSanitizationEventSubscriber::getAllowedExtensions |
function |
core/modules/file/tests/modules/file_validator_test/src/EventSubscriber/FileSanitizationEventSubscriber.php |
Gets the allowed extensions. |
| FileSaveUploadTest::testFileSaveUploadEmptyExtensions |
function |
core/modules/file/tests/src/Kernel/FileSaveUploadTest.php |
Tests file_save_upload() with empty extensions. |
| FileStorage::getFileExtension |
function |
core/lib/Drupal/Core/Config/FileStorage.php |
Gets the extension used by the file storage for all configuration files. |
| FileSystemInterface::INSECURE_EXTENSIONS |
constant |
core/lib/Drupal/Core/File/FileSystemInterface.php |
A list of insecure extensions. |
| FileSystemInterface::INSECURE_EXTENSION_REGEX |
constant |
core/lib/Drupal/Core/File/FileSystemInterface.php |
The regex pattern used when checking for insecure file types. |
| FilesystemLoader::$allowedFileExtensions |
property |
core/lib/Drupal/Core/Template/Loader/FilesystemLoader.php |
Allowed file extensions. |
| FileUploadHandler::DEFAULT_EXTENSIONS |
constant |
core/modules/file/src/Upload/FileUploadHandler.php |
The default extensions if none are provided. |
| FileUploadHandler::handleExtensionValidation |
function |
core/modules/file/src/Upload/FileUploadHandler.php |
Gets the list of allowed extensions and updates the validators. |
| 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. |
| FileUploadSanitizeNameEvent::$allowedExtensions |
property |
core/lib/Drupal/Core/File/Event/FileUploadSanitizeNameEvent.php |
A list of allowed extensions. |
| FileUploadSanitizeNameEvent::getAllowedExtensions |
function |
core/lib/Drupal/Core/File/Event/FileUploadSanitizeNameEvent.php |
Gets the list of allowed extensions. |
| FileUploadSanitizeNameEventTest::testAllowedExtensions |
function |
core/tests/Drupal/Tests/Core/File/FileUploadSanitizeNameEventTest.php |
Tests allowed extensions. |
| FileUploadTest::testFileUploadMaliciousExtension |
function |
core/modules/jsonapi/tests/src/Functional/FileUploadTest.php |
Tests using the file upload POST route with malicious extensions. |
| 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::$connection |
property |
core/lib/Drupal/Core/FileTransfer/FTPExtension.php |
The FTP connection. |
| 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. |
| FTPExtension::__construct |
function |
core/lib/Drupal/Core/FileTransfer/FTPExtension.php |
Constructs a Drupal\Core\FileTransfer\FileTransfer object. |
| 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. |
| HelpTestTwigExtension |
class |
core/modules/help/tests/modules/help_topics_twig_tester/src/HelpTestTwigExtension.php |
Defines and registers Drupal Twig extensions for testing help topics. |
| HelpTestTwigExtension.php |
file |
core/modules/help/tests/modules/help_topics_twig_tester/src/HelpTestTwigExtension.php |
|
| HelpTestTwigExtension::getNodeVisitors |
function |
core/modules/help/tests/modules/help_topics_twig_tester/src/HelpTestTwigExtension.php |
|
| HelpTopicDiscoveryTest::testHelpTopicsExtensionProviderSpecialCase |
function |
core/modules/help/tests/src/Unit/HelpTopicDiscoveryTest.php |
Tests help topics extension provider special case. |
| HelpTopicTwigLoader::addExtension |
function |
core/modules/help/src/HelpTopicTwigLoader.php |
Adds an extensions help_topics directory to the Twig loader. |
| HelpTwigExtension |
class |
core/modules/help/src/HelpTwigExtension.php |
Defines and registers Drupal Twig extensions for rendering help topics. |
| HelpTwigExtension.php |
file |
core/modules/help/src/HelpTwigExtension.php |
|
| HelpTwigExtension::getFunctions |
function |
core/modules/help/src/HelpTwigExtension.php |
|
| HelpTwigExtension::getRouteLink |
function |
core/modules/help/src/HelpTwigExtension.php |
Returns a link or plain text, given text, route name, and parameters. |
| HelpTwigExtension::getTopicLink |
function |
core/modules/help/src/HelpTwigExtension.php |
Returns a link to a help topic, or the title of the topic. |
| HelpTwigExtension::__construct |
function |
core/modules/help/src/HelpTwigExtension.php |
Constructs a \Drupal\help\HelpTwigExtension. |
| help_test_twig.extension |
service |
core/modules/help/tests/modules/help_topics_twig_tester/help_topics_twig_tester.services.yml |
Drupal\help_topics_twig_tester\HelpTestTwigExtension |
| help_twig.extension |
service |
core/modules/help/help.services.yml |
Drupal\help\HelpTwigExtension |
| hook_extension |
function |
core/lib/Drupal/Core/Render/theme.api.php |
Declare a template file extension to be used with a theme engine. |
| IconFinder::ALLOWED_EXTENSION |
constant |
core/lib/Drupal/Core/Theme/Icon/IconFinder.php |
List of allowed file extensions for local icon files. |
| IconFinderTest::testGetFilesFromPathInvalidExtensionWarning |
function |
core/tests/Drupal/Tests/Core/Theme/Icon/IconFinderTest.php |
Test the IconFinder::getFilesFromPath method with warning. |
| IconsTwigExtension |
class |
core/lib/Drupal/Core/Template/IconsTwigExtension.php |
Twig extension for icon. |
| IconsTwigExtension.php |
file |
core/lib/Drupal/Core/Template/IconsTwigExtension.php |
|
| IconsTwigExtension::getFunctions |
function |
core/lib/Drupal/Core/Template/IconsTwigExtension.php |
|
| IconsTwigExtension::getIconRenderable |
function |
core/lib/Drupal/Core/Template/IconsTwigExtension.php |
Get an icon renderable array. |
| IconsTwigExtensionTest |
class |
core/tests/Drupal/Tests/Core/Theme/Icon/IconsTwigExtensionTest.php |
Tests Drupal\Core\Template\IconsTwigExtension. |
| IconsTwigExtensionTest.php |
file |
core/tests/Drupal/Tests/Core/Theme/Icon/IconsTwigExtensionTest.php |
|