Skip to content
Snippets Groups Projects
Commit c2346e00 authored by catch's avatar catch
Browse files

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
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment