You are here

public function RouteEnhancer::__construct in Automatic Entity Label 8

Same name and namespace in other branches
  1. 8.3 src/Routing/RouteEnhancer.php \Drupal\auto_entitylabel\Routing\RouteEnhancer::__construct()
  2. 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\Routing

Code

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