public function GroupAddForm::submitForm in Context groups 8.2
Same name and namespace in other branches
- 8 src/Form/GroupAddForm.php \Drupal\context_groups\Form\GroupAddForm::submitForm()
Form submission handler.
Parameters
array $form: An associative array containing the structure of the form.
\Drupal\Core\Form\FormStateInterface $form_state: The current state of the form.
Overrides FormInterface::submitForm
File
- src/
Form/ GroupAddForm.php, line 86
Class
- GroupAddForm
- Class GroupDeleteForm.
Namespace
Drupal\context_groups\FormCode
public function submitForm(array &$form, FormStateInterface $form_state) {
$this
->saveGroup($form_state);
}