You are here

public function BareHtmlPageRendererInterface::renderBarePage in Drupal 8

Same name and namespace in other branches
  1. 9 core/lib/Drupal/Core/Render/BareHtmlPageRendererInterface.php \Drupal\Core\Render\BareHtmlPageRendererInterface::renderBarePage()

Renders a bare page.

Parameters

array $content: The main content to render in the 'content' region.

string $title: The title for this maintenance page.

string $page_theme_property: The #theme property to set on #type 'page'.

array $page_additions: Additional regions to add to the page. May also be used to pass the #show_messages property for #type 'page'.

Return value

\Drupal\Core\Render\HtmlResponse The rendered HTML response, ready to be sent.

2 methods override BareHtmlPageRendererInterface::renderBarePage()
BareHtmlPageRenderer::renderBarePage in core/lib/Drupal/Core/Render/BareHtmlPageRenderer.php
Renders a bare page.
BareHtmlPageRenderer::renderBarePage in core/lib/Drupal/Core/ProxyClass/Render/BareHtmlPageRenderer.php
Renders a bare page.

File

core/lib/Drupal/Core/Render/BareHtmlPageRendererInterface.php, line 60

Class

BareHtmlPageRendererInterface
Bare HTML page renderer.

Namespace

Drupal\Core\Render

Code

public function renderBarePage(array $content, $title, $page_theme_property, array $page_additions = []);