function ExtensionList::getExtensionDiscovery
Same name in other branches
- 9 core/lib/Drupal/Core/Extension/ExtensionList.php \Drupal\Core\Extension\ExtensionList::getExtensionDiscovery()
- 8.9.x core/lib/Drupal/Core/Extension/ExtensionList.php \Drupal\Core\Extension\ExtensionList::getExtensionDiscovery()
- 11.x core/lib/Drupal/Core/Extension/ExtensionList.php \Drupal\Core\Extension\ExtensionList::getExtensionDiscovery()
Returns the extension discovery.
Return value
\Drupal\Core\Extension\ExtensionDiscovery
2 calls to ExtensionList::getExtensionDiscovery()
- ModuleExtensionList::getExtensionDiscovery in core/
lib/ Drupal/ Core/ Extension/ ModuleExtensionList.php - TestExtension::getExtensionDiscovery in core/
tests/ Drupal/ Tests/ Core/ Extension/ ExtensionListTest.php
3 methods override ExtensionList::getExtensionDiscovery()
- DatabaseDriverList::getExtensionDiscovery in core/
lib/ Drupal/ Core/ Extension/ DatabaseDriverList.php - ModuleExtensionList::getExtensionDiscovery in core/
lib/ Drupal/ Core/ Extension/ ModuleExtensionList.php - TestExtension::getExtensionDiscovery in core/
tests/ Drupal/ Tests/ Core/ Extension/ ExtensionListTest.php
File
-
core/
lib/ Drupal/ Core/ Extension/ ExtensionList.php, line 152
Class
- ExtensionList
- Provides available extensions.
Namespace
Drupal\Core\ExtensionCode
protected function getExtensionDiscovery() {
return new ExtensionDiscovery($this->root);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.