function ExtensionList::doScanExtensions
Same name in other branches
- 9 core/lib/Drupal/Core/Extension/ExtensionList.php \Drupal\Core\Extension\ExtensionList::doScanExtensions()
- 10 core/lib/Drupal/Core/Extension/ExtensionList.php \Drupal\Core\Extension\ExtensionList::doScanExtensions()
- 11.x core/lib/Drupal/Core/Extension/ExtensionList.php \Drupal\Core\Extension\ExtensionList::doScanExtensions()
Scans the available extensions.
Overriding this method gives other code the chance to add additional extensions to this raw listing.
Return value
\Drupal\Core\Extension\Extension[] Unprocessed extension objects, keyed by machine name.
2 calls to ExtensionList::doScanExtensions()
- ExtensionList::doList in core/
lib/ Drupal/ Core/ Extension/ ExtensionList.php - Builds the list of extensions.
- ModuleExtensionList::doScanExtensions in core/
lib/ Drupal/ Core/ Extension/ ModuleExtensionList.php - Scans the available extensions.
1 method overrides ExtensionList::doScanExtensions()
- ModuleExtensionList::doScanExtensions in core/
lib/ Drupal/ Core/ Extension/ ModuleExtensionList.php - Scans the available extensions.
File
-
core/
lib/ Drupal/ Core/ Extension/ ExtensionList.php, line 297
Class
- ExtensionList
- Provides available extensions.
Namespace
Drupal\Core\ExtensionCode
protected function doScanExtensions() {
return $this->getExtensionDiscovery()
->scan($this->type);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.