public function StyleguideRoutes::__construct in Style Guide 8
Same name and namespace in other branches
- 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\styleguideCode
public function __construct(ThemeHandlerInterface $theme_handler) {
$this->themeHandler = $theme_handler;
}