drupal_render_root(&$elements)
Renders final HTML given a structured array tree.
as of Drupal 8.0.x, will be removed before Drupal 9.0.0. Use the 'renderer' service instead.
\Drupal\Core\Render\RendererInterface::renderRoot()
function drupal_render_root(&$elements) { return \Drupal::service('renderer')->renderRoot($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!includes!common.inc/function/drupal_render_root/8.1.x