protected function ExtensionList::doScanExtensions in Drupal 9
Same name and namespace in other branches
- 8 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);
}