function ModuleExtensionList::getExtensionDiscovery
Same name in other branches
- 9 core/lib/Drupal/Core/Extension/ModuleExtensionList.php \Drupal\Core\Extension\ModuleExtensionList::getExtensionDiscovery()
- 10 core/lib/Drupal/Core/Extension/ModuleExtensionList.php \Drupal\Core\Extension\ModuleExtensionList::getExtensionDiscovery()
- 11.x core/lib/Drupal/Core/Extension/ModuleExtensionList.php \Drupal\Core\Extension\ModuleExtensionList::getExtensionDiscovery()
Overrides ExtensionList::getExtensionDiscovery
File
-
core/
lib/ Drupal/ Core/ Extension/ ModuleExtensionList.php, line 87
Class
- ModuleExtensionList
- Provides a list of available modules.
Namespace
Drupal\Core\ExtensionCode
protected function getExtensionDiscovery() {
$discovery = parent::getExtensionDiscovery();
if ($active_profile = $this->getActiveProfile()) {
$discovery->setProfileDirectories($this->getProfileDirectories($discovery));
}
return $discovery;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.