diff --git a/core/modules/views/src/Plugin/views/PluginBase.php b/core/modules/views/src/Plugin/views/PluginBase.php index 76516dc..763130d 100644 --- a/core/modules/views/src/Plugin/views/PluginBase.php +++ b/core/modules/views/src/Plugin/views/PluginBase.php @@ -340,6 +340,7 @@ protected function viewsTokenReplace($text, $tokens) { } // Unescape Twig delimiters that may have already been escaped. + // @see \Drupal\viewsViewExecutable::getUrl(). $text = str_replace(['%7B','%7D'], ['{','}'], $text); // Separate Twig tokens from other tokens (e.g.: contextual filter tokens in @@ -564,3 +565,7 @@ public static function queryLanguageSubstitutions() { return $changes; } } + +/** + * @} End of "defgroup views_field_handlers". + */ diff --git a/core/modules/views/tests/src/Unit/Plugin/field/FieldPluginBaseTest.php b/core/modules/views/tests/src/Unit/Plugin/field/FieldPluginBaseTest.php index c384cc7..539aeb6 100644 --- a/core/modules/views/tests/src/Unit/Plugin/field/FieldPluginBaseTest.php +++ b/core/modules/views/tests/src/Unit/Plugin/field/FieldPluginBaseTest.php @@ -7,7 +7,6 @@ namespace Drupal\Tests\views\Unit\Plugin\field; - use Drupal\Core\Language\Language; use Drupal\Core\Routing\UrlGenerator; use Drupal\Core\Url;