ThemeHandler::getExtensionDiscovery

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;
}
doc_Drupal
2016-10-29 09:47:58
Comments
Leave a Comment

Please login to continue.