Search for extensions

  1. Search 7.x for extensions
  2. Search 9.5.x for extensions
  3. Search 8.9.x for extensions
  4. Search 10.3.x for extensions
  5. Other projects
Title Object type File name Summary
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.
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
GDToolkit::getSupportedExtensions function core/modules/system/src/Plugin/ImageToolkit/GDToolkit.php Returns a list of image file extensions supported by the toolkit.
ImageFactory::getSupportedExtensions function core/lib/Drupal/Core/Image/ImageFactory.php Returns the image file extensions supported by the toolkit.
ImageToolkitInterface::getSupportedExtensions function core/lib/Drupal/Core/ImageToolkit/ImageToolkitInterface.php Returns a list of image file extensions supported by the toolkit.
ImageToolkitManager::getAllValidExtensions function core/lib/Drupal/Core/ImageToolkit/ImageToolkitManager.php Returns all valid extensions.
KernelTestBase::getExtensionsForModules function core/tests/Drupal/KernelTests/KernelTestBase.php Returns Extension objects for $modules to install.
LegacyValidateTest::testInsecureExtensions function core/modules/file/tests/src/Kernel/LegacyValidateTest.php Tests hard-coded security check in file_validate().
LegacyValidatorTest::providerTestFileValidateExtensionsOnUri function core/modules/file/tests/src/Kernel/LegacyValidatorTest.php Data provider for ::testFileValidateExtensionsOnUri.
LegacyValidatorTest::testFileValidateExtensions function core/modules/file/tests/src/Kernel/LegacyValidatorTest.php Tests the file_validate_extensions() function.
LegacyValidatorTest::testFileValidateExtensionsOnUri function core/modules/file/tests/src/Kernel/LegacyValidatorTest.php Tests the file_validate_extensions() function.
LibraryDiscoveryParserTest::testBuildByExtensionSimple function core/tests/Drupal/Tests/Core/Asset/LibraryDiscoveryParserTest.php Tests that basic functionality works for getLibraryByName.
ModuleExtensionList::doScanExtensions function core/lib/Drupal/Core/Extension/ModuleExtensionList.php Scans the available extensions.
MultipleFileUploadTest::testMultipleFileFieldWithAllFileExtensions function core/modules/file/tests/src/Functional/MultipleFileUploadTest.php Tests multiple file field with all file extensions.
PhpExtensionsValidator class core/modules/package_manager/src/Validator/PhpExtensionsValidator.php Performs validation if certain PHP extensions are enabled.
PhpExtensionsValidator.php file core/modules/package_manager/src/Validator/PhpExtensionsValidator.php
PhpExtensionsValidator::getSubscribedEvents function core/modules/package_manager/src/Validator/PhpExtensionsValidator.php
PhpExtensionsValidator::insideTest function core/modules/package_manager/src/Validator/PhpExtensionsValidator.php Whether this validator is running inside a test.
PhpExtensionsValidator::isExtensionLoaded function core/modules/package_manager/src/Validator/PhpExtensionsValidator.php Indicates if a particular PHP extension is loaded.
PhpExtensionsValidator::validateOpenSsl function core/modules/package_manager/src/Validator/PhpExtensionsValidator.php Flags an error if the OpenSSL extension is not installed.
PhpExtensionsValidator::validateXdebug function core/modules/package_manager/src/Validator/PhpExtensionsValidator.php Flags a warning if Xdebug is enabled.
PhpExtensionsValidatorTest class core/modules/package_manager/tests/src/Kernel/PhpExtensionsValidatorTest.php @covers \Drupal\package_manager\Validator\PhpExtensionsValidator
@group package_manager
@internal
PhpExtensionsValidatorTest.php file core/modules/package_manager/tests/src/Kernel/PhpExtensionsValidatorTest.php
PhpExtensionsValidatorTest::providerPhpExtensionsValidation function core/modules/package_manager/tests/src/Kernel/PhpExtensionsValidatorTest.php Data provider for ::testPhpExtensionsValidation().
PhpExtensionsValidatorTest::testPhpExtensionsValidation function core/modules/package_manager/tests/src/Kernel/PhpExtensionsValidatorTest.php Tests that PHP extensions' status are checked by Package Manager.
RecipeConfigurator::listAllExtensions function core/lib/Drupal/Core/Recipe/RecipeConfigurator.php List all the extensions installed by this recipe and its dependencies.
RecipeMissingExtensionsException class core/lib/Drupal/Core/Recipe/RecipeMissingExtensionsException.php Exception thrown when recipes contain or depend on missing extensions.
RecipeMissingExtensionsException.php file core/lib/Drupal/Core/Recipe/RecipeMissingExtensionsException.php
RecipeMissingExtensionsException::__construct function core/lib/Drupal/Core/Recipe/RecipeMissingExtensionsException.php Constructs a RecipeMissingExtensionsException.
StagedDatabaseUpdateValidator::setExtensionsWithUpdates function core/modules/package_manager/tests/modules/package_manager_test_validation/src/StagedDatabaseUpdateValidator.php Sets the names of the extensions which should have staged database updates.
StagedDBUpdateValidator::getExtensionsWithDatabaseUpdates function core/modules/package_manager/src/Validator/StagedDBUpdateValidator.php Gets extensions that have database updates in the stage directory.
Tasks::checkExtensions function core/modules/pgsql/src/Driver/Database/pgsql/Install/Tasks.php Generic function to check postgresql extensions.
TestDiscovery::$availableExtensions property core/lib/Drupal/Core/Test/TestDiscovery.php Cached list of all available extension names, keyed by extension type.
TestDiscovery::getExtensions function core/lib/Drupal/Core/Test/TestDiscovery.php Returns all available extensions.
TestExtension::$installedExtensions property core/tests/Drupal/Tests/Core/Extension/ExtensionListTest.php
TestExtension::setInstalledExtensions function core/tests/Drupal/Tests/Core/Extension/ExtensionListTest.php
TestToolkit::getSupportedExtensions function core/modules/system/tests/modules/image_test/src/Plugin/ImageToolkit/TestToolkit.php Returns a list of image file extensions supported by the toolkit.
ThemeInitialization::$extensions property core/lib/Drupal/Core/Theme/ThemeInitialization.php The extensions that might be attaching assets.
ThemeInitialization::getExtensions function core/lib/Drupal/Core/Theme/ThemeInitialization.php Gets all extensions.
ToolkitGdTest::testSupportedExtensions function core/tests/Drupal/KernelTests/Core/Image/ToolkitGdTest.php @covers ::getSupportedExtensions
@covers ::extensionToImageType
UpdateRegistry::$enabledExtensions property core/lib/Drupal/Core/Update/UpdateRegistry.php
UpdateRegistry::scanExtensionsAndLoadUpdateFiles function core/lib/Drupal/Core/Update/UpdateRegistry.php Scans all module, theme, and profile extensions and load the update files.
UpdateRegistryTest::setupBasicExtensions function core/tests/Drupal/Tests/Core/Update/UpdateRegistryTest.php Sets up some extensions with some update functions.
UpdateScriptTest::assertInstalledExtensionsConfig function core/modules/system/tests/src/Functional/UpdateSystem/UpdateScriptTest.php Asserts that an installed extension's config setting is correct.
UpdateScriptTest::enableExtensions function core/modules/system/tests/src/Functional/UpdateSystem/UpdateScriptTest.php Enables an extension using the UI.
UpdateScriptTest::enableMissingExtensions function core/modules/system/tests/src/Functional/UpdateSystem/UpdateScriptTest.php Enables extensions the UI.

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