Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. EntityRouteProviderSubscriber.php

function EntityRouteProviderSubscriber::__construct

Constructs a new EntityRouteProviderSubscriber instance.

Parameters

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

File

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

Class

EntityRouteProviderSubscriber
Ensures that routes can be provided by entity types.

Namespace

Drupal\Core\EventSubscriber

Code

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

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal