You are here

public function FieldUiRouteEnhancer::__construct in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/field_ui/src/Routing/FieldUiRouteEnhancer.php \Drupal\field_ui\Routing\FieldUiRouteEnhancer::__construct()

Constructs a FieldUiRouteEnhancer object.

Parameters

\Drupal\Core\Entity\EntityManagerInterface $entity_manager: The entity manager.

File

core/modules/field_ui/src/Routing/FieldUiRouteEnhancer.php, line 33
Contains \Drupal\field_ui\Routing\FieldUiRouteEnhancer.

Class

FieldUiRouteEnhancer
Enhances Field UI routes by adding proper information about the bundle name.

Namespace

Drupal\field_ui\Routing

Code

public function __construct(EntityManagerInterface $entity_manager) {
  $this->entityManager = $entity_manager;
}