You are here

public function StyleguideRoutes::__construct in Style Guide 8

Same name and namespace in other branches
  1. 2.x src/StyleguideRoutes.php \Drupal\styleguide\StyleguideRoutes::__construct()

StyleguideRoutes constructor.

Parameters

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

File

src/StyleguideRoutes.php, line 28

Class

StyleguideRoutes
The Styleguide routers.

Namespace

Drupal\styleguide

Code

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