W3cubDocs

/Drupal 8

public function ConfigImportSubscriber::__construct

public ConfigImportSubscriber::__construct(ThemeHandlerInterface $theme_handler)

Constructs the ConfigImportSubscriber.

Parameters

\Drupal\Core\Extension\ThemeHandlerInterface $theme_handler: The theme handler.

File

core/lib/Drupal/Core/EventSubscriber/ConfigImportSubscriber.php, line 45

Class

ConfigImportSubscriber
Config import subscriber for config import events.

Namespace

Drupal\Core\EventSubscriber

Code

public function __construct(ThemeHandlerInterface $theme_handler) {
  $this->themeHandler = $theme_handler;
}

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!EventSubscriber!ConfigImportSubscriber.php/function/ConfigImportSubscriber::__construct/8.1.x