Default main content renderer for HTML requests.
For attachment handling of HTML responses:
\Drupal\Core\Render\AttachmentsResponseProcessorInterface
\Drupal\Core\Render\BareHtmlPageRenderer
\Drupal\Core\Render\HtmlResponse
\Drupal\Core\Render\HtmlResponseAttachmentsProcessor
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. |
© 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!MainContent!HtmlRenderer.php/class/HtmlRenderer/8.1.x