You are here

public function RouteSubscriber::__construct in RedHen CRM 8

Constructs a new RouteSubscriber object.

Parameters

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

File

modules/redhen_connection/src/Routing/RouteSubscriber.php, line 29

Class

RouteSubscriber
Listens to the dynamic route events.

Namespace

Drupal\redhen_connection\Routing

Code

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