diff --git a/core/modules/views/src/Plugin/views/display/DisplayPluginBase.php b/core/modules/views/src/Plugin/views/display/DisplayPluginBase.php index a80a1d0..c396f3f 100644 --- a/core/modules/views/src/Plugin/views/display/DisplayPluginBase.php +++ b/core/modules/views/src/Plugin/views/display/DisplayPluginBase.php @@ -1047,7 +1047,7 @@ public function optionLink($text, $section, $class = '', $title = '') { /** * {@inheritdoc} */ - public function getArgumentsTokens() {} + public function getArgumentTokens() {} /** * {@inheritdoc} diff --git a/core/modules/views/src/Plugin/views/display/DisplayPluginInterface.php b/core/modules/views/src/Plugin/views/display/DisplayPluginInterface.php index 2c9da2b..41fa008 100644 --- a/core/modules/views/src/Plugin/views/display/DisplayPluginInterface.php +++ b/core/modules/views/src/Plugin/views/display/DisplayPluginInterface.php @@ -316,7 +316,7 @@ public function optionLink($text, $section, $class = '', $title = ''); * This function is similar to views_handler_field::getRenderTokens() * but without fields tokens. */ - public function getArgumentsTokens(); + public function getArgumentTokens(); /** * Provides the default summary for options in the views UI. diff --git a/core/modules/views/views.theme.inc b/core/modules/views/views.theme.inc index a9b6295..3c0aaa3 100644 --- a/core/modules/views/views.theme.inc +++ b/core/modules/views/views.theme.inc @@ -326,7 +326,7 @@ function template_preprocess_views_view_summary(&$variables) { if (!empty($argument->options['summary_options']['base_path'])) { $base_path = $argument->options['summary_options']['base_path']; - $tokens = $this->getArgumentsTokens(); + $tokens = $this->getArgumentTokens(); $base_path = $this->viewsTokenReplace($base_path, $tokens); // @todo Views should expect and store a leading /. See: // https://www.drupal.org/node/2423913 @@ -395,7 +395,7 @@ function template_preprocess_views_view_summary_unformatted(&$variables) { if (!empty($argument->options['summary_options']['base_path'])) { $base_path = $argument->options['summary_options']['base_path']; - $tokens = $this->getArgumentsTokens(); + $tokens = $this->getArgumentTokens(); $base_path = $this->viewsTokenReplace($base_path, $tokens); // @todo Views should expect and store a leading /. See: // https://www.drupal.org/node/2423913