You are here

public function CliCommands::__construct in Site Alert 8

Constructs a new CliCommands service.

Parameters

\Drupal\Core\Entity\EntityTypeManagerInterface $entityTypeManager: The entity type manager.

File

src/CliCommands.php, line 30

Class

CliCommands
Service with shared code for CLI tools to perform common tasks.

Namespace

Drupal\site_alert

Code

public function __construct(EntityTypeManagerInterface $entityTypeManager) {
  $this->entityTypeManager = $entityTypeManager;
}