EntityRouteAlterSubscriber::__construct

public EntityRouteAlterSubscriber::__construct(EntityResolverManager $entity_resolver_manager)

Constructs an EntityRouteAlterSubscriber instance.

Parameters

\Drupal\Core\Entity\EntityResolverManager $entity_resolver_manager: The entity resolver manager.

File

core/lib/Drupal/Core/EventSubscriber/EntityRouteAlterSubscriber.php, line 36

Class

EntityRouteAlterSubscriber
Registers the 'type' of route parameter names that match an entity type.

Namespace

Drupal\Core\EventSubscriber

Code

public function __construct(EntityResolverManager $entity_resolver_manager) {
  $this->resolverManager = $entity_resolver_manager;
}
doc_Drupal
2016-10-29 09:07:32
Comments
Leave a Comment

Please login to continue.