public function AdvancedQueueCommands::__construct in Advanced Queue 8
Constructs a new AdvancedQueueCommands object.
Parameters
\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity type manager.
\Drupal\advancedqueue\ProcessorInterface $processor: The queue processor.
File
- src/
Commands/ AdvancedQueueCommands.php, line 39
Class
- AdvancedQueueCommands
- Declares AdvancedQueue module Drush commands.
Namespace
Drupal\advancedqueue\CommandsCode
public function __construct(EntityTypeManagerInterface $entity_type_manager, ProcessorInterface $processor) {
parent::__construct();
$this->entityTypeManager = $entity_type_manager;
$this->processor = $processor;
}