You are here

protected function Group::membershipLoader in Group 2.0.x

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