function ThemeEngineExtensionList::getInstalledExtensionNames

Same name in other branches
  1. 9 core/lib/Drupal/Core/Extension/ThemeEngineExtensionList.php \Drupal\Core\Extension\ThemeEngineExtensionList::getInstalledExtensionNames()
  2. 8.9.x core/lib/Drupal/Core/Extension/ThemeEngineExtensionList.php \Drupal\Core\Extension\ThemeEngineExtensionList::getInstalledExtensionNames()
  3. 10 core/lib/Drupal/Core/Extension/ThemeEngineExtensionList.php \Drupal\Core\Extension\ThemeEngineExtensionList::getInstalledExtensionNames()

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\Extension

Code

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.