You are here

protected function Group::groupRoleStorage in Group 8

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

Gets the group role storage.

Return value

\Drupal\group\Entity\Storage\GroupRoleStorageInterface The group role storage.

File

src/Entity/Group.php, line 126

Class

Group
Defines the Group entity.

Namespace

Drupal\group\Entity

Code

protected function groupRoleStorage() {
  return $this
    ->entityTypeManager()
    ->getStorage('group_role');
}