You are here

protected function ProfileExtensionList::getInstalledExtensionNames in Drupal 8

Same name and namespace in other branches
  1. 9 core/lib/Drupal/Core/Extension/ProfileExtensionList.php \Drupal\Core\Extension\ProfileExtensionList::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/ProfileExtensionList.php, line 31

Class

ProfileExtensionList
Provides a list of installation profiles.

Namespace

Drupal\Core\Extension

Code

protected function getInstalledExtensionNames() {
  return [
    $this->installProfile,
  ];
}