FileExtensionSecureConstraintValidator |
class |
core/modules/file/src/Plugin/Validation/Constraint/FileExtensionSecureConstraintValidator.php |
Validator for the FileExtensionSecureConstraint. |
FileExtensionSecureConstraintValidator.php |
file |
core/modules/file/src/Plugin/Validation/Constraint/FileExtensionSecureConstraintValidator.php |
|
FileExtensionSecureConstraintValidator::create |
function |
core/modules/file/src/Plugin/Validation/Constraint/FileExtensionSecureConstraintValidator.php |
Instantiates a new instance of this class. |
FileExtensionSecureConstraintValidator::validate |
function |
core/modules/file/src/Plugin/Validation/Constraint/FileExtensionSecureConstraintValidator.php |
|
FileExtensionSecureConstraintValidator::__construct |
function |
core/modules/file/src/Plugin/Validation/Constraint/FileExtensionSecureConstraintValidator.php |
Creates a new FileExtensionSecureConstraintValidator. |
FileExtensionSecureConstraintValidatorTest |
class |
core/modules/file/tests/src/Kernel/Plugin/Validation/Constraint/FileExtensionSecureConstraintValidatorTest.php |
Tests the FileExtensionSecureConstraintValidator. |
FileExtensionSecureConstraintValidatorTest.php |
file |
core/modules/file/tests/src/Kernel/Plugin/Validation/Constraint/FileExtensionSecureConstraintValidatorTest.php |
|
FileExtensionSecureConstraintValidatorTest::testValidate |
function |
core/modules/file/tests/src/Kernel/Plugin/Validation/Constraint/FileExtensionSecureConstraintValidatorTest.php |
@covers ::validate |
FileFieldValidateTest::testFileExtension |
function |
core/modules/file/tests/src/Functional/FileFieldValidateTest.php |
Tests file extension checking. |
FileFieldWidgetTest::testFileExtensionsSetting |
function |
core/modules/file/tests/src/Functional/FileFieldWidgetTest.php |
Tests configuring file field's allowed file extensions setting. |
FileItem::validateExtensions |
function |
core/modules/file/src/Plugin/Field/FieldType/FileItem.php |
Form API callback. |
FileSanitizationEventSubscriber::$allowedExtensions |
property |
core/modules/file/tests/modules/file_validator_test/src/EventSubscriber/FileSanitizationEventSubscriber.php |
The allowed extensions. |
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 |
Returns the file 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 |
@covers ::getAllowedExtensions |
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::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. |
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 |
@covers ::findAll |
HelpTopicTwigLoader::addExtension |
function |
core/modules/help/src/HelpTopicTwigLoader.php |
Adds an extensions help_topics directory to the Twig loader. |
HelpTwigExtension |
class |
core/modules/help_topics/src/HelpTwigExtension.php |
Defines and registers Drupal Twig extensions for rendering help topics. |
HelpTwigExtension |
class |
core/modules/help/src/HelpTwigExtension.php |
Defines and registers Drupal Twig extensions for rendering help topics. |
HelpTwigExtension.php |
file |
core/modules/help_topics/src/HelpTwigExtension.php |
|
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. |