public function GroupType::getMemberRoleId in Group 2.0.x
Same name and namespace in other branches
- 8 src/Entity/GroupType.php \Drupal\group\Entity\GroupType::getMemberRoleId()
Gets the generic member role ID.
Return value
string The ID of the generic member group role this group type uses.
Overrides GroupTypeInterface::getMemberRoleId
1 call to GroupType::getMemberRoleId()
- GroupType::getMemberRole in src/
Entity/ GroupType.php - Gets the generic member group role for this group type.
File
- src/
Entity/ GroupType.php, line 210
Class
- GroupType
- Defines the Group type configuration entity.
Namespace
Drupal\group\EntityCode
public function getMemberRoleId() {
return $this
->id() . '-member';
}