You are here

public function StyleguideThemeNegotiator::__construct in Style Guide 2.x

Same name and namespace in other branches
  1. 8 src/Theme/StyleguideThemeNegotiator.php \Drupal\styleguide\Theme\StyleguideThemeNegotiator::__construct()

StyleguideThemeNegotiator constructor.

Parameters

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

File

src/Theme/StyleguideThemeNegotiator.php, line 36

Class

StyleguideThemeNegotiator
The Styleguide Theme Negotiator.

Namespace

Drupal\styleguide\Theme

Code

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