FieldUiRouteEnhancer::__construct

public FieldUiRouteEnhancer::__construct(EntityManagerInterface $entity_manager)

Constructs a FieldUiRouteEnhancer object.

Parameters

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

File

core/modules/field_ui/src/Routing/FieldUiRouteEnhancer.php, line 28

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;
}
doc_Drupal
2016-10-29 09:12:54
Comments
Leave a Comment

Please login to continue.