You are here

public function RouteSubscriber::__construct in Field Group 8

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

Constructs a RouteSubscriber object.

Parameters

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

File

src/Routing/RouteSubscriber.php, line 29

Class

RouteSubscriber
Subscriber for Field group routes.

Namespace

Drupal\field_group\Routing

Code

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