diff --git a/src/Command/Create/CommentsCommand.php b/src/Command/Create/CommentsCommand.php index 4358a8947..417299c55 100644 --- a/src/Command/Create/CommentsCommand.php +++ b/src/Command/Create/CommentsCommand.php @@ -10,6 +10,7 @@ use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Output\OutputInterface; use Drupal\Console\Core\Command\Command; +use Drupal\Console\Annotations\DrupalCommand; use Drupal\Console\Command\Shared\CreateTrait; use Drupal\Console\Utils\Create\CommentData; use Drupal\Console\Core\Style\DrupalStyle; @@ -17,7 +18,13 @@ /** * Class CommentsCommand * + * * @package Drupal\Console\Command\Generate + * + * @DrupalCommand( + * extension = "comment", + * extensionType = "module" + * ) */ class CommentsCommand extends Command {