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

Breadcrumb

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

function EntityBundleRouteEnhancer::__construct

Constructs a EntityBundleRouteEnhancer object.

Parameters

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

File

core/lib/Drupal/Core/Entity/Enhancer/EntityBundleRouteEnhancer.php, line 29

Class

EntityBundleRouteEnhancer
Sets the bundle parameter for routes with the _field_ui option.

Namespace

Drupal\Core\Entity\Enhancer

Code

public function __construct(EntityTypeManagerInterface $entity_type_manager) {
    $this->entityTypeManager = $entity_type_manager;
}
RSS feed
Powered by Drupal