You are here

protected function Group::membershipLoader in Group 8

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

Gets the group membership loader.

Return value

\Drupal\group\GroupMembershipLoaderInterface The group.membership_loader service.

File

src/Entity/Group.php, line 96

Class

Group
Defines the Group entity.

Namespace

Drupal\group\Entity

Code

protected function membershipLoader() {
  return \Drupal::service('group.membership_loader');
}