public function GroupPermissionsTypeSpecificForm::buildForm in Group 2.0.x
Same name and namespace in other branches
- 8 src/Form/GroupPermissionsTypeSpecificForm.php \Drupal\group\Form\GroupPermissionsTypeSpecificForm::buildForm()
Form constructor.
Parameters
array $form: An associative array containing the structure of the form.
\Drupal\Core\Form\FormStateInterface $form_state: The current state of the form.
\Drupal\group\Entity\GroupTypeInterface $group_type: The group type used for this form.
Return value
array The form structure.
Overrides GroupPermissionsForm::buildForm
File
- src/
Form/ GroupPermissionsTypeSpecificForm.php, line 110
Class
- GroupPermissionsTypeSpecificForm
- Provides the user permissions administration form for a specific group type.
Namespace
Drupal\group\FormCode
public function buildForm(array $form, FormStateInterface $form_state, GroupTypeInterface $group_type = NULL) {
$this->groupType = $group_type;
return parent::buildForm($form, $form_state);
}