protected function ThemeEngineExtensionList::getInstalledExtensionNames in Drupal 8
Same name and namespace in other branches
- 9 core/lib/Drupal/Core/Extension/ThemeEngineExtensionList.php \Drupal\Core\Extension\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);
}