Issue #2325571 followup by omers: Replace _theme() calls by calls to \Drupal::theme()->render().
parent
195503e2bf
commit
c58bca379c
|
@ -2906,7 +2906,7 @@ function drupal_render(&$elements, $is_recursive_call = FALSE) {
|
|||
$wrapper_hook = $value;
|
||||
}
|
||||
|
||||
$elements['#children'] = Drupal::theme()->render($wrapper_hook, $wrapper_elements);
|
||||
$elements['#children'] = \Drupal::theme()->render($wrapper_hook, $wrapper_elements);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue