public function RouteEnhancer::__construct in Automatic Entity Label 8
Same name and namespace in other branches
- 8.3 src/Routing/RouteEnhancer.php \Drupal\auto_entitylabel\Routing\RouteEnhancer::__construct()
- 8.2 src/Routing/RouteEnhancer.php \Drupal\auto_entitylabel\Routing\RouteEnhancer::__construct()
Constructs a RouteEnhancer object.
Parameters
\Drupal\Core\Entity\EntityTypeManagerInterface $entity_manager: The entity manager.
File
- src/
Routing/ RouteEnhancer.php, line 31
Class
- RouteEnhancer
- Route Enhancer class.
Namespace
Drupal\auto_entitylabel\RoutingCode
public function __construct(EntityTypeManagerInterface $entity_manager) {
$this->entityManager = $entity_manager;
}