function ThemeEngineExtensionList::getInstalledExtensionNames
Returns a list of machine names of installed extensions.
Return value
string[] The machine names of all installed extensions of this type.
Overrides ExtensionList::getInstalledExtensionNames
File
-
core/
lib/ Drupal/ Core/ Extension/ ThemeEngineExtensionList.php, line 30
Class
- ThemeEngineExtensionList
- Provides a list of available theme engines.
Namespace
Drupal\Core\ExtensionCode
protected function getInstalledExtensionNames() {
// Theme engines do not have an 'install' state, so return names of all
// discovered theme engines.
return array_keys($this->extensions);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.