You are here

protected function ModuleExtensionList::getInstalledExtensionNames in Drupal 10

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Extension/ModuleExtensionList.php \Drupal\Core\Extension\ModuleExtensionList::getInstalledExtensionNames()
  2. 9 core/lib/Drupal/Core/Extension/ModuleExtensionList.php \Drupal\Core\Extension\ModuleExtensionList::getInstalledExtensionNames()

File

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

Class

ModuleExtensionList
Provides a list of available modules.

Namespace

Drupal\Core\Extension

Code

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