diff --git a/core/modules/views/src/Plugin/views/field/FieldPluginBase.php b/core/modules/views/src/Plugin/views/field/FieldPluginBase.php index 21a0619..944b5d4 100644 --- a/core/modules/views/src/Plugin/views/field/FieldPluginBase.php +++ b/core/modules/views/src/Plugin/views/field/FieldPluginBase.php @@ -17,7 +17,6 @@ use Drupal\views\Plugin\views\display\DisplayPluginBase; use Drupal\views\ResultRow; use Drupal\views\ViewExecutable; -use Drupal\Component\Utility\String; /** * @defgroup views_field_handlers Views field handler plugins diff --git a/core/modules/views_ui/views_ui.theme.inc b/core/modules/views_ui/views_ui.theme.inc index a7d2adc..45ac8c6 100644 --- a/core/modules/views_ui/views_ui.theme.inc +++ b/core/modules/views_ui/views_ui.theme.inc @@ -89,7 +89,7 @@ function template_preprocess_views_ui_display_tab_bucket(&$variables) { * - view: The View object. */ function template_preprocess_views_ui_view_info(&$variables) { - $variables['title'] = String::checkPlain(['view']->label()); + $variables['title'] = String::checkPlain($variables['view']->label()); if (empty($variables['displays'])) { $displays = t('None'); }