protected function ThemeHandler::getExtensionDiscovery in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/lib/Drupal/Core/Extension/ThemeHandler.php \Drupal\Core\Extension\ThemeHandler::getExtensionDiscovery()
Returns an extension discovery object.
Return value
\Drupal\Core\Extension\ExtensionDiscovery The extension discovery object.
1 call to ThemeHandler::getExtensionDiscovery()
- ThemeHandler::rebuildThemeData in core/
lib/ Drupal/ Core/ Extension/ ThemeHandler.php - Scans and collects theme extension data and their engines.
File
- core/
lib/ Drupal/ Core/ Extension/ ThemeHandler.php, line 421 - Contains \Drupal\Core\Extension\ThemeHandler.
Class
- ThemeHandler
- Default theme handler using the config system to store installation statuses.
Namespace
Drupal\Core\ExtensionCode
protected function getExtensionDiscovery() {
if (!isset($this->extensionDiscovery)) {
$this->extensionDiscovery = new ExtensionDiscovery($this->root);
}
return $this->extensionDiscovery;
}