protected function ExtensionList::getExtensionDiscovery in Drupal 10
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Extension/ExtensionList.php \Drupal\Core\Extension\ExtensionList::getExtensionDiscovery()
- 9 core/lib/Drupal/Core/Extension/ExtensionList.php \Drupal\Core\Extension\ExtensionList::getExtensionDiscovery()
Returns the extension discovery.
Return value
\Drupal\Core\Extension\ExtensionDiscovery
1 method overrides ExtensionList::getExtensionDiscovery()
- TestExtension::getExtensionDiscovery in core/
tests/ Drupal/ Tests/ Core/ Extension/ ExtensionListTest.php - Returns the extension discovery.
File
- core/
lib/ Drupal/ Core/ Extension/ ExtensionList.php, line 150
Class
- ExtensionList
- Provides available extensions.
Namespace
Drupal\Core\ExtensionCode
protected function getExtensionDiscovery() {
return new ExtensionDiscovery($this->root);
}