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

8.0.x
Alex Pott 2014-09-19 10:40:31 +01:00
parent 195503e2bf
commit c58bca379c
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}
}