namespace Drupal\views\Plugin\views;
-use Drupal\Component\Utility\SafeMarkup;
+use Drupal\Component\Render\FormattableMarkup;
use Drupal\Core\Form\FormStateInterface;
/**
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]);
}
}