BareHtmlPageRendererInterface::renderBarePage

public BareHtmlPageRendererInterface::renderBarePage(array $content, $title, $page_theme_property, array $page_additions = [])

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 = []);
doc_Drupal
2016-10-29 08:45:32
Comments
Leave a Comment

Please login to continue.