public function GroupRoleSynchronizerInterface::getGroupRoleId in Group 8
Same name and namespace in other branches
- 2.0.x src/GroupRoleSynchronizerInterface.php \Drupal\group\GroupRoleSynchronizerInterface::getGroupRoleId()
Generates an ID for a synchronized group role.
Parameters
$group_type_id: The ID of the group type the group role ID should be generated for.
$role_id: The ID of the user role the group role ID should be generated for.
Return value
string The group role ID for the given group type and user role.
1 method overrides GroupRoleSynchronizerInterface::getGroupRoleId()
- GroupRoleSynchronizer::getGroupRoleId in src/
GroupRoleSynchronizer.php - Generates an ID for a synchronized group role.
File
- src/
GroupRoleSynchronizerInterface.php, line 23
Class
- GroupRoleSynchronizerInterface
- Provides information about how site roles are synchronized to group roles.
Namespace
Drupal\groupCode
public function getGroupRoleId($group_type_id, $role_id);