You are here

protected function GroupRole::getPermissionHandler in Group 8

Same name and namespace in other branches
  1. 2.0.x 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');
}