You are here

protected function AjaxRenderer::drupalRenderRoot in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/lib/Drupal/Core/Render/MainContent/AjaxRenderer.php \Drupal\Core\Render\MainContent\AjaxRenderer::drupalRenderRoot()

Wraps drupal_render_root().

@todo Remove as part of https://www.drupal.org/node/2182149.

1 call to AjaxRenderer::drupalRenderRoot()
AjaxRenderer::renderResponse in core/lib/Drupal/Core/Render/MainContent/AjaxRenderer.php
Renders the main content render array into a response.
1 method overrides AjaxRenderer::drupalRenderRoot()
TestAjaxRenderer::drupalRenderRoot in core/tests/Drupal/Tests/Core/Controller/AjaxRendererTest.php
Wraps drupal_render_root().

File

core/lib/Drupal/Core/Render/MainContent/AjaxRenderer.php, line 87
Contains \Drupal\Core\Render\MainContent\AjaxRenderer.

Class

AjaxRenderer
Default main content renderer for Ajax requests.

Namespace

Drupal\Core\Render\MainContent

Code

protected function drupalRenderRoot(&$elements) {
  return drupal_render_root($elements);
}