You are here

protected function TestExtension::getInstalledExtensionNames in Drupal 9

Same name and namespace in other branches
  1. 8 core/tests/Drupal/Tests/Core/Extension/ExtensionListTest.php \Drupal\Tests\Core\Extension\TestExtension::getInstalledExtensionNames()
  2. 10 core/tests/Drupal/Tests/Core/Extension/ExtensionListTest.php \Drupal\Tests\Core\Extension\TestExtension::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/tests/Drupal/Tests/Core/Extension/ExtensionListTest.php, line 348

Class

TestExtension

Namespace

Drupal\Tests\Core\Extension

Code

protected function getInstalledExtensionNames() {
  return $this->installedExtensions;
}