Commit c58bca37 authored by alexpott's avatar alexpott

Issue #2325571 followup by omers: Replace _theme() calls by calls to \Drupal::theme()->render().

parent 195503e2
......@@ -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);
}
}
......
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