You are here

public function GetAlerts::__construct in Site Alert 8

Constructs a new GetAlerts service.

Parameters

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

File

src/GetAlerts.php, line 28

Class

GetAlerts
Service for retrieving site alerts.

Namespace

Drupal\site_alert

Code

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