You are here

public function GroupRoleSynchronizerInterface::getGroupRoleId in Group 2.0.x

Same name and namespace in other branches
  1. 8 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\group

Code

public function getGroupRoleId($group_type_id, $role_id);