public function GenerateTagCommand::__construct in Metatag 8
The GenerateTagCommand constructor.
Parameters
\Drupal\metatag\MetatagManagerInterface $metatagManager: The metatag manager object.
\Drupal\metatag\Generator\MetatagTagGenerator $generator: The tag generator object.
\Drupal\Console\Extension\Manager $extensionManager: The extension manager object.
\Drupal\Console\Core\Utils\StringConverter $stringConverter: The string converter object.
\Drupal\Console\Core\Utils\ChainQueue $chainQueue: The chain queue object.
Validator $validator:
File
- src/
Command/ GenerateTagCommand.php, line 89
Class
- GenerateTagCommand
- Class GenerateTagCommand.
Namespace
Drupal\metatag\CommandCode
public function __construct(MetatagManagerInterface $metatagManager, MetatagTagGenerator $generator, Manager $extensionManager, StringConverter $stringConverter, ChainQueue $chainQueue, Validator $validator) {
$this->metatagManager = $metatagManager;
$this->generator = $generator;
$this->extensionManager = $extensionManager;
$this->stringConverter = $stringConverter;
$this->chainQueue = $chainQueue;
$this->validator = $validator;
parent::__construct();
}