Search for extension

  1. Search 7.x for extension
  2. Search 8.9.x for extension
  3. Search 10.3.x for extension
  4. Search 11.x for extension
  5. Other projects

Exact matches

These are exact matches according to your search
Title Object type File name Summary
Extension class core/modules/system/src/Plugin/migrate/source/Extension.php Drupal 6/7 system data for a legacy extension source from database.
Extension class core/lib/Drupal/Core/Extension/Extension.php Defines an extension (file) object.

All search results

Title Object type File name Summary
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.
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_post_update_add_txt_if_allows_insecure_extensions function core/modules/file/file.post_update.php Add txt to allowed extensions for all fields that allow uploads of insecure files.
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.
HelpTestTwigExtension class core/modules/help_topics/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_topics/tests/modules/help_topics_twig_tester/src/HelpTestTwigExtension.php
HelpTestTwigExtension::getNodeVisitors function core/modules/help_topics/tests/modules/help_topics_twig_tester/src/HelpTestTwigExtension.php
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.
HelpTwigExtension class core/modules/help_topics/src/HelpTwigExtension.php Defines and registers Drupal Twig extensions for rendering help topics.
HelpTwigExtension.php file core/modules/help_topics/src/HelpTwigExtension.php
HelpTwigExtension::$accessManager property core/modules/help_topics/src/HelpTwigExtension.php The access manager.
HelpTwigExtension::$pluginManager property core/modules/help_topics/src/HelpTwigExtension.php The help topic plugin manager.
HelpTwigExtension::getFunctions function core/modules/help_topics/src/HelpTwigExtension.php
HelpTwigExtension::getRouteLink function core/modules/help_topics/src/HelpTwigExtension.php Returns a link or plain text, given text, route name, and parameters.
HelpTwigExtension::getTopicLink function core/modules/help_topics/src/HelpTwigExtension.php Returns a link to a help topic, or the title of the topic.
HelpTwigExtension::__construct function core/modules/help_topics/src/HelpTwigExtension.php Constructs a \Drupal\help_topics\HelpTwigExtension.
help_test_twig.extension service core/modules/help_topics/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_topics/help_topics.services.yml Drupal\help_topics\HelpTwigExtension
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.
ImageUploadTest::testUploadFileExtension function core/modules/ckeditor5/tests/src/Functional/ImageUploadTest.php Tests using the file upload route with a disallowed extension.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.