You are here

protected function Group::groupPermissionChecker in Group 8

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

Gets the group permission checker.

Return value

\Drupal\group\Access\GroupPermissionCheckerInterface The group_permission.checker service.

File

src/Entity/Group.php, line 106

Class

Group
Defines the Group entity.

Namespace

Drupal\group\Entity

Code

protected function groupPermissionChecker() {
  return \Drupal::service('group_permission.checker');
}