You are here

public function GroupRoleSynchronizerInterface::getGroupRoleIdsByUserRole in Group 8

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

Retrieves all synchronized group role IDs for a user role.

Parameters

string $role_id: The ID of the user role 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::getGroupRoleIdsByUserRole()
GroupRoleSynchronizer::getGroupRoleIdsByUserRole in src/GroupRoleSynchronizer.php
Retrieves all synchronized group role IDs for a user role.

File

src/GroupRoleSynchronizerInterface.php, line 56

Class

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

Namespace

Drupal\group

Code

public function getGroupRoleIdsByUserRole($role_id);