From 009cb0297f44718589c0e76177c0ee8c4a6fa445 Mon Sep 17 00:00:00 2001 From: Michael S Date: Thu, 5 Nov 2020 09:15:50 +0000 Subject: [PATCH] [generate:command] Address annotation regression The DrupalCommand annotation was missing the '@' annotation token. This stops translations from being detected for generated commands. --- templates/module/src/Command/command.php.twig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/module/src/Command/command.php.twig b/templates/module/src/Command/command.php.twig index 647d6d660..7862d78ae 100644 --- a/templates/module/src/Command/command.php.twig +++ b/templates/module/src/Command/command.php.twig @@ -22,7 +22,7 @@ use Drupal\Console\Core\Command\Command; /** * Class {{ class_name }}. * - * Drupal\Console\Annotations\DrupalCommand ( + * @Drupal\Console\Annotations\DrupalCommand ( * extension="{{extension}}", * extensionType="{{ extension_type }}" * )