You are here

public function GroupRole::isOutsider in Group 2.0.x

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

Code

public function isOutsider() {
  return $this->audience == 'outsider';
}