You are here

public function GroupOwnsMenuContentAccessChecker::__construct in Group Content Menu 8

GroupOwnsMenuContentAccessChecker constructor.

Parameters

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

File

src/Access/GroupOwnsMenuContentAccessChecker.php, line 35

Class

GroupOwnsMenuContentAccessChecker
Determines access to routes.

Namespace

Drupal\group_content_menu\Access

Code

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