From 6ca44f7895f930461a94801be0dba652e62c320d Mon Sep 17 00:00:00 2001 From: Alex Pott Date: Sat, 2 Nov 2019 08:11:54 +0100 Subject: [PATCH] Issue #3084345 by solide-echt, gdejonghe, valthebald, aklump, mbovan, Sutharsan, wengerk: Fix usage of unsupported !title placeholder in Translation.php --- core/lib/Drupal/Core/Annotation/Translation.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/lib/Drupal/Core/Annotation/Translation.php b/core/lib/Drupal/Core/Annotation/Translation.php index 90fe5e02d59d..14fdda986e59 100644 --- a/core/lib/Drupal/Core/Annotation/Translation.php +++ b/core/lib/Drupal/Core/Annotation/Translation.php @@ -23,7 +23,7 @@ use Drupal\Core\StringTranslation\TranslatableMarkup; * * To provide replacement values for placeholders, use the "arguments" array: * @code - * title = @ Translation("Bundle !title", arguments = {"!title" = "Foo"}), + * title = @ Translation("Bundle @title", arguments = {"@title" = "Foo"}), * @endcode * * It is also possible to provide a context with the text, similar to t():