function ExtensionList::getInstalledExtensionNames

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

Returns a list of machine names of installed extensions.

Return value

string[] The machine names of all installed extensions of this type.

1 call to ExtensionList::getInstalledExtensionNames()
ExtensionList::getAllInstalledInfo in core/lib/Drupal/Core/Extension/ExtensionList.php
Returns an array of info files information of installed extensions.
5 methods override ExtensionList::getInstalledExtensionNames()
ModuleExtensionList::getInstalledExtensionNames in core/lib/Drupal/Core/Extension/ModuleExtensionList.php
Returns a list of machine names of installed extensions.
ProfileExtensionList::getInstalledExtensionNames in core/lib/Drupal/Core/Extension/ProfileExtensionList.php
Returns a list of machine names of installed extensions.
TestExtension::getInstalledExtensionNames in core/tests/Drupal/Tests/Core/Extension/ExtensionListTest.php
Returns a list of machine names of installed extensions.
ThemeEngineExtensionList::getInstalledExtensionNames in core/lib/Drupal/Core/Extension/ThemeEngineExtensionList.php
Returns a list of machine names of installed extensions.
ThemeExtensionList::getInstalledExtensionNames in core/lib/Drupal/Core/Extension/ThemeExtensionList.php
Returns a list of machine names of installed extensions.

File

core/lib/Drupal/Core/Extension/ExtensionList.php, line 381

Class

ExtensionList
Provides available extensions.

Namespace

Drupal\Core\Extension

Code

protected abstract function getInstalledExtensionNames();

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