function ModuleExtensionList::getInstalledExtensionNames

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

Overrides ExtensionList::getInstalledExtensionNames

File

core/lib/Drupal/Core/Extension/ModuleExtensionList.php, line 197

Class

ModuleExtensionList
Provides a list of available modules.

Namespace

Drupal\Core\Extension

Code

protected function getInstalledExtensionNames() {
    return array_keys($this->moduleHandler
        ->getModuleList());
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.