public function GroupRole::isOutsider in Group 8
Same name and namespace in other branches
- 2.0.x src/Entity/GroupRole.php \Drupal\group\Entity\GroupRole::isOutsider()
Returns whether the role is for an outsider.
Return value
bool Whether the role is for an outsider.
Overrides GroupRoleInterface::isOutsider
1 call to GroupRole::isOutsider()
- GroupRole::isMember in src/
Entity/ GroupRole.php - Returns whether the role is for a member.
File
- src/
Entity/ GroupRole.php, line 168
Class
- GroupRole
- Defines the Group role configuration entity.
Namespace
Drupal\group\EntityCode
public function isOutsider() {
return $this->audience == 'outsider';
}