function BareHtmlPageRendererInterface::renderBarePage

Same name in other branches
  1. 9 core/lib/Drupal/Core/Render/BareHtmlPageRendererInterface.php \Drupal\Core\Render\BareHtmlPageRendererInterface::renderBarePage()
  2. 8.9.x core/lib/Drupal/Core/Render/BareHtmlPageRendererInterface.php \Drupal\Core\Render\BareHtmlPageRendererInterface::renderBarePage()
  3. 11.x 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.

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 = []);

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.