public function GroupRevisionCheck::__construct in Group 2.0.x
Same name and namespace in other branches
- 8 src/Entity/Access/GroupRevisionCheck.php \Drupal\group\Entity\Access\GroupRevisionCheck::__construct()
Constructs a new GroupRevisionCheck.
Parameters
\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity type manager.
\Drupal\Core\Routing\RouteMatchInterface $route_match: The currently active route match object.
File
- src/
Entity/ Access/ GroupRevisionCheck.php, line 48
Class
- GroupRevisionCheck
- Checks access to a group revision.
Namespace
Drupal\group\Entity\AccessCode
public function __construct(EntityTypeManagerInterface $entity_type_manager, RouteMatchInterface $route_match) {
$this->entityTypeManager = $entity_type_manager;
$this->routeMatch = $route_match;
}