class InstallerModuleExtensionList in Drupal 9
Same name and namespace in other branches
- 8 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 StringTranslationTrait
- class \Drupal\Core\Installer\InstallerModuleExtensionList uses ExtensionListTrait
- class \Drupal\Core\Extension\ModuleExtensionList uses StringTranslationTrait
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
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
ExtensionList:: |
protected | property | A list of extension folder names directly added in code (not discovered). | |
ExtensionList:: |
protected | property | The cache. | |
ExtensionList:: |
protected | property | Static caching for extension info. | |
ExtensionList:: |
protected | property | The cached extensions. | |
ExtensionList:: |
protected | property | The info parser. | |
ExtensionList:: |
protected | property | The install profile used by the site. | |
ExtensionList:: |
protected | property | The module handler. | |
ExtensionList:: |
protected | property | A list of extension folder names keyed by extension name. | |
ExtensionList:: |
protected | property | The app root. | |
ExtensionList:: |
protected | property | The state store. | |
ExtensionList:: |
protected | property | The type of the extension: "module", "theme" or "profile". | |
ExtensionList:: |
public | function | Tests the compatibility of an extension. | |
ExtensionList:: |
protected | function | Creates the info value for an extension object. | 1 |
ExtensionList:: |
public | function | Determines if an extension exists in the filesystem. | |
ExtensionList:: |
public | function | Returns a single extension. | |
ExtensionList:: |
public | function | Returns an array of info files information of available extensions. | |
ExtensionList:: |
public | function | Returns an array of info files information of installed extensions. | |
ExtensionList:: |
public | function | Returns information about a specified extension. | |
ExtensionList:: |
protected | function | Returns the extension info cache ID. | |
ExtensionList:: |
public | function | Returns all available extensions. | |
ExtensionList:: |
protected | function | Returns the extension list cache ID. | |
ExtensionList:: |
public | function | Returns the human-readable name of the extension. | |
ExtensionList:: |
public | function | Gets the path to an extension of a specific type (module, theme, etc.). | |
ExtensionList:: |
public | function | Returns a list of extension file paths keyed by machine name. | |
ExtensionList:: |
protected | function | Returns the extension filenames cache ID. | |
ExtensionList:: |
protected | function | Generates the information from .info.yml files for extensions of this type. | |
ExtensionList:: |
protected | function | Generates a sorted list of .info.yml file locations for all extensions. | |
ExtensionList:: |
public | function | Resets the stored extension list. | 1 |
ExtensionList:: |
public static | function | Array sorting callback; sorts extensions by their name. | |
ExtensionListTrait:: |
protected static | property | Static version of the added file names during the installer. | |
ExtensionListTrait:: |
public | function | ||
ExtensionListTrait:: |
public | function | ||
ModuleExtensionList:: |
protected | property | The config factory. | |
ModuleExtensionList:: |
protected | property |
Default values to be merged into *.info.yml file arrays. Overrides ExtensionList:: |
|
ModuleExtensionList:: |
protected | property | The profile list needed by this module list. | |
ModuleExtensionList:: |
protected | function |
Builds the list of extensions. Overrides ExtensionList:: |
|
ModuleExtensionList:: |
protected | function |
Scans the available extensions. Overrides ExtensionList:: |
|
ModuleExtensionList:: |
protected | function | Marks dependencies of required modules as 'required', recursively. | |
ModuleExtensionList:: |
protected | function | Gets the processed active profile object, or null. | |
ModuleExtensionList:: |
protected | function |
Returns the extension discovery. Overrides ExtensionList:: |
|
ModuleExtensionList:: |
protected | function |
Returns a list of machine names of installed extensions. Overrides ExtensionList:: |
|
ModuleExtensionList:: |
protected | function | Finds all installation profile paths. | |
ModuleExtensionList:: |
public | function |
Constructs a new ModuleExtensionList instance. Overrides ExtensionList:: |
|
StringTranslationTrait:: |
protected | property | The string translation service. | 4 |
StringTranslationTrait:: |
protected | function | Formats a string containing a count of items. | |
StringTranslationTrait:: |
protected | function | Returns the number of plurals supported by a given language. | |
StringTranslationTrait:: |
protected | function | Gets the string translation service. | |
StringTranslationTrait:: |
public | function | Sets the string translation service to use. | 2 |
StringTranslationTrait:: |
protected | function | Translates a string to the current language or to a given language. |