public function RouteSubscriber::__construct in Salesforce Suite 8.4
Same name and namespace in other branches
- 5.0.x 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\RoutingCode
public function __construct(EntityTypeManagerInterface $entity_manager) {
$this->entityTypeManager = $entity_manager;
}