You are here

public function BareHtmlPageRenderer::__construct in Zircon Profile 8

Same name in this branch
  1. 8 core/lib/Drupal/Core/Render/BareHtmlPageRenderer.php \Drupal\Core\Render\BareHtmlPageRenderer::__construct()
  2. 8 core/lib/Drupal/Core/ProxyClass/Render/BareHtmlPageRenderer.php \Drupal\Core\ProxyClass\Render\BareHtmlPageRenderer::__construct()
Same name and namespace in other branches
  1. 8.0 core/lib/Drupal/Core/Render/BareHtmlPageRenderer.php \Drupal\Core\Render\BareHtmlPageRenderer::__construct()

Constructs a new BareHtmlPageRenderer.

Parameters

\Drupal\Core\Render\RendererInterface $renderer: The renderer service.

\Drupal\Core\Render\AttachmentsResponseProcessorInterface $html_response_attachments_processor: The HTML response attachments processor service.

File

core/lib/Drupal/Core/Render/BareHtmlPageRenderer.php, line 37
Contains \Drupal\Core\Render\BareHtmlPageRenderer.

Class

BareHtmlPageRenderer
Default bare HTML page renderer.

Namespace

Drupal\Core\Render

Code

public function __construct(RendererInterface $renderer, AttachmentsResponseProcessorInterface $html_response_attachments_processor) {
  $this->renderer = $renderer;
  $this->htmlResponseAttachmentsProcessor = $html_response_attachments_processor;
}