You are here

protected function GroupMembership::groupPermissionChecker in Group 8

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

Gets the group permission checker.

Return value

\Drupal\group\Access\GroupPermissionCheckerInterface

File

src/GroupMembership.php, line 120

Class

GroupMembership
Wrapper class for a GroupContent entity representing a membership.

Namespace

Drupal\group

Code

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