You are here

protected function GroupPermissionsTypeSpecificForm::getGroupType in Group 2.0.x

Same name and namespace in other branches
  1. 8 src/Form/GroupPermissionsTypeSpecificForm.php \Drupal\group\Form\GroupPermissionsTypeSpecificForm::getGroupType()

Gets the group type to build the form for.

Return value

\Drupal\group\Entity\GroupTypeInterface The group type some or more roles belong to.

Overrides GroupPermissionsForm::getGroupType

File

src/Form/GroupPermissionsTypeSpecificForm.php, line 79

Class

GroupPermissionsTypeSpecificForm
Provides the user permissions administration form for a specific group type.

Namespace

Drupal\group\Form

Code

protected function getGroupType() {
  return $this->groupType;
}