You are here

public function StyleguideMaintenancePageController::__construct in Style Guide 8

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

Constructs a new StyleguideMaintenancePageController.

Parameters

\Drupal\Core\Render\BareHtmlPageRendererInterface $bare_html_page_renderer: The bare HTML page renderer.

\Drupal\styleguide\GeneratorInterface $styleguide_generator: The styleguide generator service.

File

src/Controller/StyleguideMaintenancePageController.php, line 37

Class

StyleguideMaintenancePageController
The Styleguide maintainers page controller.

Namespace

Drupal\styleguide\Controller

Code

public function __construct(BareHtmlPageRendererInterface $bare_html_page_renderer, GeneratorInterface $styleguide_generator) {
  $this->bareHtmlPageRenderer = $bare_html_page_renderer;
  $this->generator = $styleguide_generator;
}