You are here

public function GroupRoleSynchronizerInterface::getGroupRoleIdsByUserRoles in Group 8

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

Retrieves all synchronized group role IDs for a list of user roles.

Parameters

string[] $role_ids: The IDs of the user roles the group role IDs should be retrieved for.

Return value

string[] The synchronized group role IDs for the given user role.

1 method overrides GroupRoleSynchronizerInterface::getGroupRoleIdsByUserRoles()
GroupRoleSynchronizer::getGroupRoleIdsByUserRoles in src/GroupRoleSynchronizer.php
Retrieves all synchronized group role IDs for a list of user roles.

File

src/GroupRoleSynchronizerInterface.php, line 67

Class

GroupRoleSynchronizerInterface
Provides information about how site roles are synchronized to group roles.

Namespace

Drupal\group

Code

public function getGroupRoleIdsByUserRoles($role_ids);