Security update for Core, with self-updated composer
[yaffs-website] / web / core / modules / system / tests / modules / theme_test / theme_test.module
index 2e6f1647335aead30a27bb982df8eacf886dc321..6a701abee915069b845cdfed24610ed43db049c6 100644 (file)
@@ -153,7 +153,7 @@ function template_preprocess_theme_test_render_element(&$variables) {
  *   - element: An associative array containing the properties of the element.
  */
 function theme_theme_test_render_element_children($variables) {
-  return drupal_render($variables['element']);
+  return \Drupal::service('renderer')->render($variables['element']);
 }
 
 /**