X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=web%2Fcore%2Fmodules%2Fsystem%2Ftests%2Fmodules%2Ftheme_test%2Ftheme_test.module;h=6a701abee915069b845cdfed24610ed43db049c6;hp=2e6f1647335aead30a27bb982df8eacf886dc321;hb=9917807b03b64faf00f6a1f29dcb6eafc454efa5;hpb=aea91e65e895364e460983b890e295aa5d5540a5 diff --git a/web/core/modules/system/tests/modules/theme_test/theme_test.module b/web/core/modules/system/tests/modules/theme_test/theme_test.module index 2e6f16473..6a701abee 100644 --- a/web/core/modules/system/tests/modules/theme_test/theme_test.module +++ b/web/core/modules/system/tests/modules/theme_test/theme_test.module @@ -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']); } /**