diff --git a/core/modules/views/lib/Drupal/views/Plugin/views/filter/Compare.php b/core/modules/views/lib/Drupal/views/Plugin/views/filter/Compare.php index 1ab32be..d4fe447 100644 --- a/core/modules/views/lib/Drupal/views/Plugin/views/filter/Compare.php +++ b/core/modules/views/lib/Drupal/views/Plugin/views/filter/Compare.php @@ -7,7 +7,7 @@ namespace Drupal\views\Plugin\views\filter; -use Drupal\Component\Annotation\PluginID; +use Drupal\Component\Utility\String as StringUtility; /** * Defines a filter plugin to compare different fields. @@ -97,7 +97,7 @@ public function buildOptionsForm(&$form, &$form_state) { * {@inheritdoc} */ public function adminSummary() { - return String::format( + return StringUtility::format( $this->options['left_field'] . ' ' . $this->options['operator'] . ' ' . $this->options['right_field']