class InstallerModuleExtensionList
Same name and namespace in other branches
- 9 core/lib/Drupal/Core/Installer/InstallerModuleExtensionList.php \Drupal\Core\Installer\InstallerModuleExtensionList
- 8.9.x core/lib/Drupal/Core/Installer/InstallerModuleExtensionList.php \Drupal\Core\Installer\InstallerModuleExtensionList
- 10 core/lib/Drupal/Core/Installer/InstallerModuleExtensionList.php \Drupal\Core\Installer\InstallerModuleExtensionList
Overrides the module extension list to have a static cache.
Hierarchy
- class \Drupal\Core\Extension\ExtensionList
- class \Drupal\Core\Extension\ModuleExtensionList uses \Drupal\Core\StringTranslation\StringTranslationTrait implements \Drupal\Core\Extension\ExtensionList
- class \Drupal\Core\Installer\InstallerModuleExtensionList uses \Drupal\Core\Installer\ExtensionListTrait implements \Drupal\Core\Extension\ModuleExtensionList
- class \Drupal\Core\Extension\ModuleExtensionList uses \Drupal\Core\StringTranslation\StringTranslationTrait implements \Drupal\Core\Extension\ExtensionList
Expanded class hierarchy of InstallerModuleExtensionList
File
-
core/
lib/ Drupal/ Core/ Installer/ InstallerModuleExtensionList.php, line 10
Namespace
Drupal\Core\InstallerView source
class InstallerModuleExtensionList extends ModuleExtensionList {
use ExtensionListTrait;
}
Members
Title Sort descending | Modifiers | Object type | Summary | Overriden Title | Overrides |
---|---|---|---|---|---|
ExtensionList::$addedPathNames | protected | property | A list of extension folder names directly added in code (not discovered). | ||
ExtensionList::$cache | protected | property | The cache. | ||
ExtensionList::$extensionInfo | protected | property | Static caching for extension info. | ||
ExtensionList::$extensions | protected | property | The cached extensions. | ||
ExtensionList::$infoParser | protected | property | The info parser. | ||
ExtensionList::$installProfile | protected | property | The install profile used by the site. | ||
ExtensionList::$moduleHandler | protected | property | The module handler. | ||
ExtensionList::$pathNames | protected | property | A list of extension folder names keyed by extension name. | ||
ExtensionList::$root | protected | property | The app root. | ||
ExtensionList::$state | protected | property | The state store. | ||
ExtensionList::$type | protected | property | The type of the extension. | ||
ExtensionList::checkIncompatibility | public | function | Tests the compatibility of an extension. | 1 | |
ExtensionList::createExtensionInfo | protected | function | Creates the info value for an extension object. | 2 | |
ExtensionList::exists | public | function | Determines if an extension exists in the filesystem. | ||
ExtensionList::get | public | function | Returns a single extension. | 1 | |
ExtensionList::getAllAvailableInfo | public | function | Returns an array of info files information of available extensions. | 1 | |
ExtensionList::getAllInstalledInfo | public | function | Returns an array of info files information of installed extensions. | 1 | |
ExtensionList::getExtensionInfo | public | function | Returns information about a specified extension. | 1 | |
ExtensionList::getInfoCacheId | protected | function | Returns the extension info cache ID. | ||
ExtensionList::getList | public | function | Returns all available extensions. | ||
ExtensionList::getListCacheId | protected | function | Returns the extension list cache ID. | ||
ExtensionList::getName | public | function | Returns the human-readable name of the extension. | 1 | |
ExtensionList::getPath | public | function | Gets the path to an extension of a specific type (module, theme, etc.). | 1 | |
ExtensionList::getPathNames | public | function | Returns a list of extension file paths keyed by machine name. | 1 | |
ExtensionList::getPathNamesCacheId | protected | function | Returns the extension filenames cache ID. | ||
ExtensionList::recalculateInfo | protected | function | Generates the information from .info.yml files for extensions of this type. | 1 | |
ExtensionList::recalculatePathNames | protected | function | Generates a sorted list of .info.yml file locations for all extensions. | 1 | |
ExtensionList::reset | public | function | Resets the stored extension list. | 1 | |
ExtensionList::sortByName | public static | function | Array sorting callback; sorts extensions by their name. | 1 | |
ExtensionListTrait::$staticAddedPathNames | protected static | property | Static version of the added file names during the installer. | ||
ExtensionListTrait::getPathname | public | function | |||
ExtensionListTrait::setPathname | public | function | |||
ModuleExtensionList::$configFactory | protected | property | The config factory. | ||
ModuleExtensionList::$defaults | protected | property | Default values to be merged into *.info.yml file arrays. | Overrides ExtensionList::$defaults | |
ModuleExtensionList::$profileList | protected | property | The profile list needed by this module list. | ||
ModuleExtensionList::doList | protected | function | Builds the list of extensions. | Overrides ExtensionList::doList | |
ModuleExtensionList::doScanExtensions | protected | function | Scans the available extensions. | Overrides ExtensionList::doScanExtensions | |
ModuleExtensionList::ensureRequiredDependencies | protected | function | Marks dependencies of required modules as 'required', recursively. | ||
ModuleExtensionList::getActiveProfile | protected | function | Gets the processed active profile object, or null. | ||
ModuleExtensionList::getExtensionDiscovery | protected | function | Returns the extension discovery. | Overrides ExtensionList::getExtensionDiscovery | |
ModuleExtensionList::getInstalledExtensionNames | protected | function | Returns a list of machine names of installed extensions. | Overrides ExtensionList::getInstalledExtensionNames | |
ModuleExtensionList::getProfileDirectories | protected | function | Finds all installation profile paths. | ||
ModuleExtensionList::__construct | public | function | Constructs a new ModuleExtensionList instance. | Overrides ExtensionList::__construct | |
StringTranslationTrait::$stringTranslation | protected | property | The string translation service. | 3 | |
StringTranslationTrait::formatPlural | protected | function | Formats a string containing a count of items. | ||
StringTranslationTrait::getNumberOfPlurals | protected | function | Returns the number of plurals supported by a given language. | ||
StringTranslationTrait::getStringTranslation | protected | function | Gets the string translation service. | ||
StringTranslationTrait::setStringTranslation | public | function | Sets the string translation service to use. | 2 | |
StringTranslationTrait::t | protected | function | Translates a string to the current language or to a given language. | 1 |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.