You are here

public function RouteSubscriber::__construct in Entity Extra Field 8

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

Route subscriber constructor.

Parameters

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

File

modules/entity_extra_field_ui/src/Routing/RouteSubscriber.php, line 26

Class

RouteSubscriber
Define the route subscriber.

Namespace

Drupal\entity_extra_field_ui\Routing

Code

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