You are here

public function FlexiformRouteEnhancer::__construct in Flexiform 8

Constructs a FlexiformRouteEnhancer object.

Parameters

\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity type manager.

File

src/Routing/FlexiformRouteEnhancer.php, line 30

Class

FlexiformRouteEnhancer
Enhances Flexiform routes.

Namespace

Drupal\flexiform\Routing

Code

public function __construct(EntityTypeManagerInterface $entity_type_manager) {
  $this->entityTypeManager = $entity_type_manager;
}