Security update for Core, with self-updated composer
[yaffs-website] / web / core / lib / Drupal / Core / Theme / ThemeManager.php
index c58d176d45105059fe4060e6c5f9aeb51be01ef8..61f0483363e74ee6c4d53938755a23d05fe33b16 100644 (file)
@@ -303,7 +303,7 @@ class ThemeManager implements ThemeManagerInterface {
       unset($preprocess_bubbleable['#cache']['keys']);
       if ($preprocess_bubbleable) {
         // @todo Inject the Renderer in https://www.drupal.org/node/2529438.
-        drupal_render($preprocess_bubbleable);
+        \Drupal::service('renderer')->render($preprocess_bubbleable);
       }
     }