You are here

public function GroupType::creatorGetsMembership in Group 8

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

Returns whether the group creator automatically receives a membership.

Return value

bool Whether the group creator automatically receives a membership.

Overrides GroupTypeInterface::creatorGetsMembership

File

src/Entity/GroupType.php, line 231

Class

GroupType
Defines the Group type configuration entity.

Namespace

Drupal\group\Entity

Code

public function creatorGetsMembership() {
  return $this->creator_membership;
}