You are here

public function GroupRoleStorageInterface::loadSynchronizedByUserRoles in Group 8

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

Retrieves all synchronized GroupRole entities by user roles.

Parameters

string[] $role_ids: The list of user role IDs to load the synchronized group roles for.

Return value

\Drupal\group\Entity\GroupRoleInterface[] The group roles matching the user roles.

1 method overrides GroupRoleStorageInterface::loadSynchronizedByUserRoles()
GroupRoleStorage::loadSynchronizedByUserRoles in src/Entity/Storage/GroupRoleStorage.php
Retrieves all synchronized GroupRole entities by user roles.

File

src/Entity/Storage/GroupRoleStorageInterface.php, line 51

Class

GroupRoleStorageInterface
Defines an interface for group role entity storage classes.

Namespace

Drupal\group\Entity\Storage

Code

public function loadSynchronizedByUserRoles(array $role_ids);