protected function AjaxRenderer::drupalRenderRoot

protected AjaxRenderer::drupalRenderRoot(&$elements)

Wraps drupal_render_root().

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

File

core/lib/Drupal/Core/Render/MainContent/AjaxRenderer.php, line 82

Class

AjaxRenderer
Default main content renderer for Ajax requests.

Namespace

Drupal\Core\Render\MainContent

Code

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

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Render!MainContent!AjaxRenderer.php/function/AjaxRenderer::drupalRenderRoot/8.1.x