You are here

public function GroupLatestRevisionCheck::__construct in Group 8

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

Constructs a GroupLatestRevisionCheck object.

Parameters

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

File

src/Entity/Access/GroupLatestRevisionCheck.php, line 39

Class

GroupLatestRevisionCheck
Access check for the group moderation tab.

Namespace

Drupal\group\Entity\Access

Code

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