Same name and namespace in other branches
  1. 8.9.x core/lib/Drupal/Core/EventSubscriber/EntityRouteProviderSubscriber.php \Drupal\Core\EventSubscriber\EntityRouteProviderSubscriber::entityTypeManager
  2. 9 core/lib/Drupal/Core/EventSubscriber/EntityRouteProviderSubscriber.php \Drupal\Core\EventSubscriber\EntityRouteProviderSubscriber::entityTypeManager

The entity type manager service.

Type: \Drupal\Core\Entity\EntityTypeManagerInterface

File

core/lib/Drupal/Core/EventSubscriber/EntityRouteProviderSubscriber.php, line 21

Class

EntityRouteProviderSubscriber
Ensures that routes can be provided by entity types.

Namespace

Drupal\Core\EventSubscriber

Code

protected $entityTypeManager;