class TestThemeExtensionList in Drupal 10
Same name and namespace in other branches
- 8 core/tests/Drupal/Tests/Core/Extension/ThemeExtensionListTest.php \Drupal\Tests\Core\Extension\TestThemeExtensionList
- 9 core/tests/Drupal/Tests/Core/Extension/ThemeExtensionListTest.php \Drupal\Tests\Core\Extension\TestThemeExtensionList
Test theme extension list class.
Hierarchy
- class \Drupal\Core\Extension\ExtensionList
- class \Drupal\Core\Extension\ThemeExtensionList
- class \Drupal\Tests\Core\Extension\TestThemeExtensionList uses SettableDiscoveryExtensionListTrait
- class \Drupal\Core\Extension\ThemeExtensionList
Expanded class hierarchy of TestThemeExtensionList
File
- core/
tests/ Drupal/ Tests/ Core/ Extension/ ThemeExtensionListTest.php, line 248
Namespace
Drupal\Tests\Core\ExtensionView source
class TestThemeExtensionList extends ThemeExtensionList {
use SettableDiscoveryExtensionListTrait;
}
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 | Scans the available extensions. | |
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 | Gets the info file path for an extension. | |
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 | Sets the pathname for an extension. | |
ExtensionList:: |
public static | function | Array sorting callback; sorts extensions by their name. | |
SettableDiscoveryExtensionListTrait:: |
protected | property | The extension discovery for this extension list. | |
SettableDiscoveryExtensionListTrait:: |
public | function | ||
SettableDiscoveryExtensionListTrait:: |
public | function | Sets the extension discovery. | |
ThemeExtensionList:: |
protected | property | The config factory. | |
ThemeExtensionList:: |
protected | property |
Default values to be merged into *.info.yml file arrays. Overrides ExtensionList:: |
|
ThemeExtensionList:: |
protected | property | The theme engine list needed by this theme list. | |
ThemeExtensionList:: |
protected | property | The list of installed themes. | |
ThemeExtensionList:: |
protected | function |
Creates the info value for an extension object. Overrides ExtensionList:: |
|
ThemeExtensionList:: |
protected | function | Finds the base themes for the specific theme. | |
ThemeExtensionList:: |
protected | function |
Builds the list of extensions. Overrides ExtensionList:: |
|
ThemeExtensionList:: |
protected | function | Fills in data for themes that are also sub-themes. | |
ThemeExtensionList:: |
public | function | Finds all the base themes for the specified theme. | |
ThemeExtensionList:: |
protected | function |
Returns a list of machine names of installed extensions. Overrides ExtensionList:: |
|
ThemeExtensionList:: |
public | function |
Resets the stored extension list. Overrides ExtensionList:: |
|
ThemeExtensionList:: |
public | function |
Constructs a new ThemeExtensionList instance. Overrides ExtensionList:: |