public function QueueClearCommand::__construct in Advanced Queue 8
Constructs a new QueueClearCommand object.
Parameters
\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity type manager.
\Drupal\Core\Database\Connection $database: The database connection.
File
- src/
Command/ QueueClearCommand.php, line 62
Class
- QueueClearCommand
- Class ClearQueueCommand.
Namespace
Drupal\advancedqueue\CommandCode
public function __construct(EntityTypeManagerInterface $entity_type_manager, Connection $database) {
parent::__construct();
$this->entityTypeManager = $entity_type_manager;
$this->database = $database;
}