You are here

public function RouteSubscriber::__construct in Web Service Data 2.0.x

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

Constructs a RouteSubscriber object.

Parameters

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

File

modules/wsdata_field/src/Routing/RouteSubscriber.php, line 29

Class

RouteSubscriber
Subscriber for Field UI routes.

Namespace

Drupal\wsdata_field\Routing

Code

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