HtmlRenderer

Default main content renderer for HTML requests.

For attachment handling of HTML responses:

Hierarchy

See also

template_preprocess_html()

\Drupal\Core\Render\AttachmentsResponseProcessorInterface

\Drupal\Core\Render\BareHtmlPageRenderer

\Drupal\Core\Render\HtmlResponse

\Drupal\Core\Render\HtmlResponseAttachmentsProcessor

File

core/lib/Drupal/Core/Render/MainContent/HtmlRenderer.php, line 31

Namespace

Drupal\Core\Render\MainContent

Members

Name Modifiers Type Description
HtmlRenderer::$displayVariantManager protected property The display variant manager.
HtmlRenderer::$eventDispatcher protected property The event dispatcher.
HtmlRenderer::$moduleHandler protected property The module handler.
HtmlRenderer::$renderCache protected property The render cache service.
HtmlRenderer::$renderer protected property The renderer service.
HtmlRenderer::$rendererConfig protected property The renderer configuration array.
HtmlRenderer::$titleResolver protected property The title resolver.
HtmlRenderer::buildPageTopAndBottom public function Invokes the page top and bottom hooks.
HtmlRenderer::invokePageAttachmentHooks public function Invokes the page attachment hooks.
HtmlRenderer::prepare protected function Prepares the HTML body: wraps the main content in #type 'page'.
HtmlRenderer::renderResponse public function The entire HTML: takes a #type 'page' and wraps it in a #type 'html'. Overrides MainContentRendererInterface::renderResponse
HtmlRenderer::__construct public function Constructs a new HtmlRenderer.
doc_Drupal
2016-10-29 09:18:47
Comments
Leave a Comment

Please login to continue.