public function ExtensionList::getAllInstalledInfo in Drupal 9
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Extension/ExtensionList.php \Drupal\Core\Extension\ExtensionList::getAllInstalledInfo()
Returns an array of info files information of installed extensions.
This function returns the processed contents (with added defaults) of the .info.yml files.
Return value
array[] An associative array of extension information arrays, keyed by extension name.
1 call to ExtensionList::getAllInstalledInfo()
- ExtensionList::getExtensionInfo in core/
lib/ Drupal/ Core/ Extension/ ExtensionList.php - Returns information about a specified extension.
File
- core/
lib/ Drupal/ Core/ Extension/ ExtensionList.php, line 393
Class
- ExtensionList
- Provides available extensions.
Namespace
Drupal\Core\ExtensionCode
public function getAllInstalledInfo() {
return array_intersect_key($this
->getAllAvailableInfo(), array_flip($this
->getInstalledExtensionNames()));
}