You are here

public function GroupType::getOutsiderRoleId in Group 8

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

Gets the generic outsider role ID.

Return value

string The ID of the outsider group role this group type uses.

Overrides GroupTypeInterface::getOutsiderRoleId

1 call to GroupType::getOutsiderRoleId()
GroupType::getOutsiderRole in src/Entity/GroupType.php
Gets the generic outsider group role for this group type.

File

src/Entity/GroupType.php, line 194

Class

GroupType
Defines the Group type configuration entity.

Namespace

Drupal\group\Entity

Code

public function getOutsiderRoleId() {
  return $this
    ->id() . '-outsider';
}