You are here

public function RouteSubscriber::__construct in Field tools 8

Constructs a RouteSubscriber object.

Parameters

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

File

src/Routing/RouteSubscriber.php, line 29

Class

RouteSubscriber
Subscriber for Field Tools routes.

Namespace

Drupal\field_tools\Routing

Code

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