public function BareHtmlPageRenderer::renderBarePage in Zircon Profile 8
Same name in this branch
- 8 core/lib/Drupal/Core/Render/BareHtmlPageRenderer.php \Drupal\Core\Render\BareHtmlPageRenderer::renderBarePage()
- 8 core/lib/Drupal/Core/ProxyClass/Render/BareHtmlPageRenderer.php \Drupal\Core\ProxyClass\Render\BareHtmlPageRenderer::renderBarePage()
Same name and namespace in other branches
- 8.0 core/lib/Drupal/Core/ProxyClass/Render/BareHtmlPageRenderer.php \Drupal\Core\ProxyClass\Render\BareHtmlPageRenderer::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.
Overrides BareHtmlPageRendererInterface::renderBarePage
File
- core/
lib/ Drupal/ Core/ ProxyClass/ Render/ BareHtmlPageRenderer.php, line 77 - Contains \Drupal\Core\ProxyClass\Render\BareHtmlPageRenderer.
Class
- BareHtmlPageRenderer
- Provides a proxy class for \Drupal\Core\Render\BareHtmlPageRenderer.
Namespace
Drupal\Core\ProxyClass\RenderCode
public function renderBarePage(array $content, $title, $page_theme_property, array $page_additions = array()) {
return $this
->lazyLoadItself()
->renderBarePage($content, $title, $page_theme_property, $page_additions);
}