You are here

public function RouteSubscriber::__construct in Layout Builder Restrictions 8.2

Constructs a RouteSubscriber object.

Parameters

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

File

modules/layout_builder_restrictions_by_region/src/Routing/RouteSubscriber.php, line 30

Class

RouteSubscriber
Subscriber for Layout Builder Restrictions By Region routes.

Namespace

Drupal\layout_builder_restrictions_by_region\Routing

Code

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