You are here

public function GenerateGroupCommand::__construct in Metatag 8

The GenerateTagCommand constructor.

Parameters

\Drupal\metatag\Generator\MetatagGroupGenerator $generator: The generator object.

\Drupal\Console\Extension\Manager $extensionManager: The extension manager object.

\Drupal\Console\Core\Utils\ChainQueue $chainQueue: The chain queue object.

Validator $validator:

File

src/Command/GenerateGroupCommand.php, line 68

Class

GenerateGroupCommand
Class GenerateGroupCommand.

Namespace

Drupal\metatag\Command

Code

public function __construct(MetatagGroupGenerator $generator, Manager $extensionManager, ChainQueue $chainQueue, Validator $validator) {
  $this->generator = $generator;
  $this->extensionManager = $extensionManager;
  $this->chainQueue = $chainQueue;
  $this->validator = $validator;
  parent::__construct();
}