You are here

protected function GroupMembershipLoader::groupContentStorage in Group 2.0.x

Same name and namespace in other branches
  1. 8 src/GroupMembershipLoader.php \Drupal\group\GroupMembershipLoader::groupContentStorage()

Gets the group content storage.

Return value

\Drupal\group\Entity\Storage\GroupContentStorageInterface

File

src/GroupMembershipLoader.php, line 56

Class

GroupMembershipLoader
Loader for wrapped GroupContent entities using the 'group_membership' plugin.

Namespace

Drupal\group

Code

protected function groupContentStorage() {
  return $this->entityTypeManager
    ->getStorage('group_content');
}