You are here

protected function GroupRole::getPermissionHandler in Group 2.0.x

Same name and namespace in other branches
  1. 8 src/Entity/GroupRole.php \Drupal\group\Entity\GroupRole::getPermissionHandler()

Returns the group permission handler.

Return value

\Drupal\group\Access\GroupPermissionHandler The group permission handler.

File

src/Entity/GroupRole.php, line 287

Class

GroupRole
Defines the Group role configuration entity.

Namespace

Drupal\group\Entity

Code

protected function getPermissionHandler() {
  return \Drupal::service('group.permissions');
}