W3cubDocs

/Drupal 8

public function BareHtmlPageRenderer::__construct

public BareHtmlPageRenderer::__construct(RendererInterface $renderer, AttachmentsResponseProcessorInterface $html_response_attachments_processor)

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 32

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;
}

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Render!BareHtmlPageRenderer.php/function/BareHtmlPageRenderer::__construct/8.1.x