Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / web / core / modules / views / src / Plugin / views / BrokenHandlerTrait.php
index bd7d59ceece5e416af98994148bb023bfd148976..992e8e252f54a77b1c42f0e7278fbb950202f88e 100644 (file)
@@ -2,7 +2,7 @@
 
 namespace Drupal\views\Plugin\views;
 
-use Drupal\Component\Utility\SafeMarkup;
+use Drupal\Component\Render\FormattableMarkup;
 use Drupal\Core\Form\FormStateInterface;
 
 /**
@@ -55,7 +55,7 @@ trait BrokenHandlerTrait {
 
     foreach ($this->definition['original_configuration'] as $key => $value) {
       if (is_scalar($value)) {
-        $items[] = SafeMarkup::format('@key: @value', ['@key' => $key, '@value' => $value]);
+        $items[] = new FormattableMarkup('@key: @value', ['@key' => $key, '@value' => $value]);
       }
     }