public function FieldUiRouteEnhancer::__construct in Scheduled Updates 8
Constructs a FieldUiRouteEnhancer object.
Parameters
\Drupal\Core\Entity\EntityManagerInterface $entity_manager: The entity manager.
File
- src/
Routing/ FieldUiRouteEnhancer.php, line 34 - Contains \Drupal\scheduled_updates\Routing\FieldUiRouteEnhancer.
Class
- FieldUiRouteEnhancer
- Enhances Field UI routes by adding proper information about the bundle name.
Namespace
Drupal\scheduled_updates\RoutingCode
public function __construct(EntityManagerInterface $entity_manager) {
$this->entityManager = $entity_manager;
}