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