From 0aa7eff40faf90897ef81eac45fb97ca65b957f4 Mon Sep 17 00:00:00 2001 From: Jesus Manuel Olivas Date: Sun, 31 Dec 2017 14:42:26 -0800 Subject: [PATCH] [create:comments] Add module dependency. (#3644) --- src/Command/Create/CommentsCommand.php | 7 +++++++ 1 file changed, 7 insertions(+) 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 {