You are here

public function RouteSubscriber::__construct in Entity Extra Field 2.0.x

Same name and namespace in other branches
  1. 8 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 28

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;
}