You are here

public function RouteSubscriber::__construct in Salesforce Suite 5.0.x

Same name and namespace in other branches
  1. 8.4 modules/salesforce_mapping_ui/src/Routing/RouteSubscriber.php \Drupal\salesforce_mapping_ui\Routing\RouteSubscriber::__construct()

Constructs a new RouteSubscriber object.

Parameters

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

File

modules/salesforce_mapping_ui/src/Routing/RouteSubscriber.php, line 35

Class

RouteSubscriber
Listens to the dynamic route events.

Namespace

Drupal\salesforce_mapping_ui\Routing

Code

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