protected ThemeHandler::getExtensionDiscovery()
Returns an extension discovery object.
Return value
\Drupal\Core\Extension\ExtensionDiscovery The extension discovery object.
File
- core/lib/Drupal/Core/Extension/ThemeHandler.php, line 421
Class
- ThemeHandler
- Default theme handler using the config system to store installation statuses.
Namespace
Drupal\Core\Extension
Code
protected function getExtensionDiscovery() { if (!isset($this->extensionDiscovery)) { $this->extensionDiscovery = new ExtensionDiscovery($this->root); } return $this->extensionDiscovery; }
Please login to continue.