You are here

public function GroupType::creatorMustCompleteMembership in Group 8

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

Returns whether the group creator must complete their membership.

Return value

bool Whether the group creator must complete their membership.

Overrides GroupTypeInterface::creatorMustCompleteMembership

File

src/Entity/GroupType.php, line 238

Class

GroupType
Defines the Group type configuration entity.

Namespace

Drupal\group\Entity

Code

public function creatorMustCompleteMembership() {
  return $this->creator_membership && $this->creator_wizard;
}