You are here

public function GroupContentCreateAccessCheck::__construct in Group 8

Same name and namespace in other branches
  1. 2.0.x src/Access/GroupContentCreateAccessCheck.php \Drupal\group\Access\GroupContentCreateAccessCheck::__construct()

Constructs a EntityCreateAccessCheck object.

Parameters

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

File

src/Access/GroupContentCreateAccessCheck.php, line 30

Class

GroupContentCreateAccessCheck
Determines access for group content creation.

Namespace

Drupal\group\Access

Code

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