Commit c2346e00 authored by catch's avatar catch

Issue #2920014 by billywardrop, shashikant_chauhan, anyaabchiche, dinarcon,...

Issue #2920014 by billywardrop, shashikant_chauhan, anyaabchiche, dinarcon, sthomps5, mairi: Add Change record to @deprecated for Renderer service
parent 8886b4d2
......@@ -863,6 +863,7 @@ function drupal_pre_render_links($element) {
* 'renderer' service instead.
*
* @see \Drupal\Core\Render\RendererInterface::renderRoot()
* @see https://www.drupal.org/node/2912696
*/
function drupal_render_root(&$elements) {
return \Drupal::service('renderer')->renderRoot($elements);
......@@ -875,6 +876,7 @@ function drupal_render_root(&$elements) {
* 'renderer' service instead.
*
* @see \Drupal\Core\Render\RendererInterface::render()
* @see https://www.drupal.org/node/2912696
*/
function drupal_render(&$elements, $is_recursive_call = FALSE) {
return \Drupal::service('renderer')->render($elements, $is_recursive_call);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment