You are here

public function GroupContentCreateAnyAccessCheck::__construct in Group 8

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

Constructs a EntityCreateAccessCheck object.

Parameters

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

File

src/Access/GroupContentCreateAnyAccessCheck.php, line 30

Class

GroupContentCreateAnyAccessCheck
Determines access for group content creation.

Namespace

Drupal\group\Access

Code

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