Security update for Core, with self-updated composer
[yaffs-website] / web / core / modules / views / src / Plugin / views / area / Result.php
index d2f1b01ab613df2a3e039f281835d451063a9a5f..2bbd23bb249850f2144abfded6e67c5aa9136dd5 100644 (file)
@@ -47,7 +47,7 @@ class Result extends AreaPluginBase {
         '@page_count -- the total page count',
       ],
     ];
-    $list = drupal_render($item_list);
+    $list = \Drupal::service('renderer')->render($item_list);
     $form['content'] = [
       '#title' => $this->t('Display'),
       '#type' => 'textarea',