RouteSubscriber::__construct

public RouteSubscriber::__construct(EntityManagerInterface $manager)

Constructs a RouteSubscriber object.

Parameters

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

File

core/modules/field_ui/src/Routing/RouteSubscriber.php, line 29

Class

RouteSubscriber
Subscriber for Field UI routes.

Namespace

Drupal\field_ui\Routing

Code

public function __construct(EntityManagerInterface $manager) {
  $this->manager = $manager;
}
doc_Drupal
2016-10-29 09:39:28
Comments
Leave a Comment

Please login to continue.