You are here

class InstallerThemeEngineExtensionList in Drupal 9

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Installer/InstallerThemeEngineExtensionList.php \Drupal\Core\Installer\InstallerThemeEngineExtensionList

Overrides the theme engine extension list to have a static cache.

Hierarchy

Expanded class hierarchy of InstallerThemeEngineExtensionList

File

core/lib/Drupal/Core/Installer/InstallerThemeEngineExtensionList.php, line 10

Namespace

Drupal\Core\Installer
View source
class InstallerThemeEngineExtensionList extends ThemeEngineExtensionList {
  use ExtensionListTrait;

}

Members

Namesort descending Modifiers Type Description 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: "module", "theme" or "profile".
ExtensionList::checkIncompatibility public function Tests the compatibility of an extension.
ExtensionList::createExtensionInfo protected function Creates the info value for an extension object. 1
ExtensionList::doList protected function Builds the list of extensions. 2
ExtensionList::doScanExtensions protected function Scans the available extensions. 1
ExtensionList::exists public function Determines if an extension exists in the filesystem.
ExtensionList::get public function Returns a single extension.
ExtensionList::getAllAvailableInfo public function Returns an array of info files information of available extensions.
ExtensionList::getAllInstalledInfo public function Returns an array of info files information of installed extensions.
ExtensionList::getExtensionDiscovery protected function Returns the extension discovery. 3
ExtensionList::getExtensionInfo public function Returns information about a specified extension.
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.
ExtensionList::getPath public function Gets the path to an extension of a specific type (module, theme, etc.).
ExtensionList::getPathnames public function Returns a list of extension file paths keyed by machine name.
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.
ExtensionList::recalculatePathnames protected function Generates a sorted list of .info.yml file locations for all extensions.
ExtensionList::reset public function Resets the stored extension list. 1
ExtensionList::sortByName public static function Array sorting callback; sorts extensions by their name.
ExtensionList::__construct public function Constructs a new instance. 2
ExtensionListTrait::$staticAddedPathNames protected static property Static version of the added file names during the installer.
ExtensionListTrait::getPathname public function
ExtensionListTrait::setPathname public function
ThemeEngineExtensionList::$defaults protected property Default values to be merged into *.info.yml file arrays. Overrides ExtensionList::$defaults
ThemeEngineExtensionList::getInstalledExtensionNames protected function Returns a list of machine names of installed extensions. Overrides ExtensionList::getInstalledExtensionNames