You are here

public function RouteSubscriber::__construct in Display Suite 8.3

Same name in this branch
  1. 8.3 src/Routing/RouteSubscriber.php \Drupal\ds\Routing\RouteSubscriber::__construct()
  2. 8.3 modules/ds_devel/src/Routing/RouteSubscriber.php \Drupal\ds_devel\Routing\RouteSubscriber::__construct()
Same name and namespace in other branches
  1. 8.4 src/Routing/RouteSubscriber.php \Drupal\ds\Routing\RouteSubscriber::__construct()
  2. 8.2 src/Routing/RouteSubscriber.php \Drupal\ds\Routing\RouteSubscriber::__construct()

Constructs a new RouteSubscriber object.

Parameters

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

File

src/Routing/RouteSubscriber.php, line 29

Class

RouteSubscriber
Subscriber for Devel routes.

Namespace

Drupal\ds\Routing

Code

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