public function RouteSubscriber::__construct

Same name in this branch
  1. 8.x drupal/core/modules/field_ui/lib/Drupal/field_ui/Routing/RouteSubscriber.php \Drupal\field_ui\Routing\RouteSubscriber::__construct()
  2. 8.x drupal/core/modules/rest/lib/Drupal/rest/EventSubscriber/RouteSubscriber.php \Drupal\rest\EventSubscriber\RouteSubscriber::__construct()

Constructs a RouteSubscriber object.

Parameters

\Drupal\Core\Entity\EntityManager $manager: The entity type manager.

File

drupal/core/modules/field_ui/lib/Drupal/field_ui/Routing/RouteSubscriber.php, line 34
Contains \Drupal\field_ui\Routing\RouteSubscriber.

Class

RouteSubscriber
Subscriber for Field UI routes.

Namespace

Drupal\field_ui\Routing

Code

public function __construct(EntityManager $manager) {
  $this->manager = $manager;
}