Extension::__sleep |
function |
core/lib/Drupal/Core/Extension/Extension.php |
Magic method implementation to serialize the extension object. |
Extension::__wakeup |
function |
core/lib/Drupal/Core/Extension/Extension.php |
Magic method implementation to unserialize the extension object. |
ExtensionDiscovery |
class |
core/lib/Drupal/Core/Extension/ExtensionDiscovery.php |
Discovers available extensions in the filesystem. |
ExtensionDiscovery.php |
file |
core/lib/Drupal/Core/Extension/ExtensionDiscovery.php |
|
ExtensionDiscovery::$fileCache |
property |
core/lib/Drupal/Core/Extension/ExtensionDiscovery.php |
The file cache object. |
ExtensionDiscovery::$files |
property |
core/lib/Drupal/Core/Extension/ExtensionDiscovery.php |
Previously discovered files keyed by origin directory and extension type. |
ExtensionDiscovery::$profileDirectories |
property |
core/lib/Drupal/Core/Extension/ExtensionDiscovery.php |
List of installation profile directories to additionally scan. |
ExtensionDiscovery::$root |
property |
core/lib/Drupal/Core/Extension/ExtensionDiscovery.php |
The app root for the current operation. |
ExtensionDiscovery::$sitePath |
property |
core/lib/Drupal/Core/Extension/ExtensionDiscovery.php |
The site path. |
ExtensionDiscovery::filterByProfileDirectories |
function |
core/lib/Drupal/Core/Extension/ExtensionDiscovery.php |
Filters out extensions not belonging to the scanned installation profiles. |
ExtensionDiscovery::getProfileDirectories |
function |
core/lib/Drupal/Core/Extension/ExtensionDiscovery.php |
Gets the installation profile directories to be scanned. |
ExtensionDiscovery::ORIGIN_CORE |
constant |
core/lib/Drupal/Core/Extension/ExtensionDiscovery.php |
Origin directory weight: Core. |
ExtensionDiscovery::ORIGIN_PARENT_SITE |
constant |
core/lib/Drupal/Core/Extension/ExtensionDiscovery.php |
Origin directory weight: Parent site directory of a test site environment. |
ExtensionDiscovery::ORIGIN_PROFILE |
constant |
core/lib/Drupal/Core/Extension/ExtensionDiscovery.php |
Origin directory weight: Installation profile. |
ExtensionDiscovery::ORIGIN_ROOT |
constant |
core/lib/Drupal/Core/Extension/ExtensionDiscovery.php |
Origin directory weight: Site-wide directory. |
ExtensionDiscovery::ORIGIN_SITE |
constant |
core/lib/Drupal/Core/Extension/ExtensionDiscovery.php |
Origin directory weight: Site-specific directory. |
ExtensionDiscovery::ORIGIN_SITES_ALL |
constant |
core/lib/Drupal/Core/Extension/ExtensionDiscovery.php |
Origin directory weight: sites/all. |
ExtensionDiscovery::PHP_FUNCTION_PATTERN |
constant |
core/lib/Drupal/Core/Extension/ExtensionDiscovery.php |
Regular expression to match PHP function names. |
ExtensionDiscovery::process |
function |
core/lib/Drupal/Core/Extension/ExtensionDiscovery.php |
Processes the filtered and sorted list of extensions. |
ExtensionDiscovery::scan |
function |
core/lib/Drupal/Core/Extension/ExtensionDiscovery.php |
Discovers available extensions of a given type. |
ExtensionDiscovery::scanDirectory |
function |
core/lib/Drupal/Core/Extension/ExtensionDiscovery.php |
Recursively scans a base directory for the extensions it contains. |
ExtensionDiscovery::setProfileDirectories |
function |
core/lib/Drupal/Core/Extension/ExtensionDiscovery.php |
Sets explicit profile directories to scan. |
ExtensionDiscovery::setProfileDirectoriesFromSettings |
function |
core/lib/Drupal/Core/Extension/ExtensionDiscovery.php |
Sets installation profile directories based on current site settings. |
ExtensionDiscovery::sort |
function |
core/lib/Drupal/Core/Extension/ExtensionDiscovery.php |
Sorts the discovered extensions. |
ExtensionDiscovery::__construct |
function |
core/lib/Drupal/Core/Extension/ExtensionDiscovery.php |
Constructs a new ExtensionDiscovery object. |
ExtensionDiscoveryTest |
class |
core/tests/Drupal/Tests/Core/Extension/ExtensionDiscoveryTest.php |
Tests discovery of extensions. |
ExtensionDiscoveryTest.php |
file |
core/tests/Drupal/Tests/Core/Extension/ExtensionDiscoveryTest.php |
|
ExtensionDiscoveryTest::addFileToFilesystemStructure |
function |
core/tests/Drupal/Tests/Core/Extension/ExtensionDiscoveryTest.php |
|
ExtensionDiscoveryTest::populateFilesystemStructure |
function |
core/tests/Drupal/Tests/Core/Extension/ExtensionDiscoveryTest.php |
Adds example files to the filesystem structure. |
ExtensionDiscoveryTest::testExtensionDiscoveryCache |
function |
core/tests/Drupal/Tests/Core/Extension/ExtensionDiscoveryTest.php |
Tests changing extension discovery file cache objects to arrays. |
ExtensionDiscoveryTest::testExtensionDiscoveryTypeComment |
function |
core/tests/Drupal/Tests/Core/Extension/ExtensionDiscoveryTest.php |
Tests finding modules that have a trailing comment on the type property. |
ExtensionDiscoveryTest::testExtensionDiscoveryVfs |
function |
core/tests/Drupal/Tests/Core/Extension/ExtensionDiscoveryTest.php |
Tests extension discovery in a virtual filesystem with vfsStream. |
ExtensionExistsConstraint |
class |
core/lib/Drupal/Core/Extension/Plugin/Validation/Constraint/ExtensionExistsConstraint.php |
Checks that the value is the name of an installed extension. |
ExtensionExistsConstraint.php |
file |
core/lib/Drupal/Core/Extension/Plugin/Validation/Constraint/ExtensionExistsConstraint.php |
|
ExtensionExistsConstraint::$moduleMessage |
property |
core/lib/Drupal/Core/Extension/Plugin/Validation/Constraint/ExtensionExistsConstraint.php |
The error message for a non-existent module. |
ExtensionExistsConstraint::$themeMessage |
property |
core/lib/Drupal/Core/Extension/Plugin/Validation/Constraint/ExtensionExistsConstraint.php |
The error message for a non-existent theme. |
ExtensionExistsConstraint::$type |
property |
core/lib/Drupal/Core/Extension/Plugin/Validation/Constraint/ExtensionExistsConstraint.php |
The type of extension to look for. Can be 'module' or 'theme'. |
ExtensionExistsConstraint::getDefaultOption |
function |
core/lib/Drupal/Core/Extension/Plugin/Validation/Constraint/ExtensionExistsConstraint.php |
|
ExtensionExistsConstraint::getRequiredOptions |
function |
core/lib/Drupal/Core/Extension/Plugin/Validation/Constraint/ExtensionExistsConstraint.php |
|
ExtensionExistsConstraintValidator |
class |
core/lib/Drupal/Core/Extension/Plugin/Validation/Constraint/ExtensionExistsConstraintValidator.php |
Validates that a given extension exists. |
ExtensionExistsConstraintValidator.php |
file |
core/lib/Drupal/Core/Extension/Plugin/Validation/Constraint/ExtensionExistsConstraintValidator.php |
|
ExtensionExistsConstraintValidator::$moduleHandler |
property |
core/lib/Drupal/Core/Extension/Plugin/Validation/Constraint/ExtensionExistsConstraintValidator.php |
The module handler service. |
ExtensionExistsConstraintValidator::$themeHandler |
property |
core/lib/Drupal/Core/Extension/Plugin/Validation/Constraint/ExtensionExistsConstraintValidator.php |
The theme handler service. |
ExtensionExistsConstraintValidator::create |
function |
core/lib/Drupal/Core/Extension/Plugin/Validation/Constraint/ExtensionExistsConstraintValidator.php |
Instantiates a new instance of this class. |
ExtensionExistsConstraintValidator::validate |
function |
core/lib/Drupal/Core/Extension/Plugin/Validation/Constraint/ExtensionExistsConstraintValidator.php |
|
ExtensionExistsConstraintValidator::__construct |
function |
core/lib/Drupal/Core/Extension/Plugin/Validation/Constraint/ExtensionExistsConstraintValidator.php |
Constructs a ExtensionExistsConstraintValidator object. |
ExtensionExistsConstraintValidatorTest |
class |
core/tests/Drupal/KernelTests/Core/Extension/ExtensionExistsConstraintValidatorTest.php |
Tests the ExtensionExists constraint validator. |
ExtensionExistsConstraintValidatorTest.php |
file |
core/tests/Drupal/KernelTests/Core/Extension/ExtensionExistsConstraintValidatorTest.php |
|
ExtensionExistsConstraintValidatorTest::$modules |
property |
core/tests/Drupal/KernelTests/Core/Extension/ExtensionExistsConstraintValidatorTest.php |
Modules to install. |
ExtensionExistsConstraintValidatorTest::testValidation |
function |
core/tests/Drupal/KernelTests/Core/Extension/ExtensionExistsConstraintValidatorTest.php |
Tests the ExtensionExists constraint validator. |