function ExtensionList::getInstalledExtensionNames

Same name in other branches
  1. 9 core/lib/Drupal/Core/Extension/ExtensionList.php \Drupal\Core\Extension\ExtensionList::getInstalledExtensionNames()
  2. 8.9.x core/lib/Drupal/Core/Extension/ExtensionList.php \Drupal\Core\Extension\ExtensionList::getInstalledExtensionNames()
  3. 10 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.
6 methods override ExtensionList::getInstalledExtensionNames()
DatabaseDriverList::getInstalledExtensionNames in core/lib/Drupal/Core/Extension/DatabaseDriverList.php
ModuleExtensionList::getInstalledExtensionNames in core/lib/Drupal/Core/Extension/ModuleExtensionList.php
ProfileExtensionList::getInstalledExtensionNames in core/lib/Drupal/Core/Extension/ProfileExtensionList.php
TestExtension::getInstalledExtensionNames in core/tests/Drupal/Tests/Core/Extension/ExtensionListTest.php
ThemeEngineExtensionList::getInstalledExtensionNames in core/lib/Drupal/Core/Extension/ThemeEngineExtensionList.php

... See full list

File

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

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.