You are here

public function GroupRole::getPermissions in Group 8

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

Returns a list of permissions assigned to the role.

Return value

array The permissions assigned to the role.

Overrides GroupRoleInterface::getPermissions

File

src/Entity/GroupRole.php, line 206

Class

GroupRole
Defines the Group role configuration entity.

Namespace

Drupal\group\Entity

Code

public function getPermissions() {
  return $this->permissions;
}