public function AjaxToggleForm::submitForm in Toggle Editable fields 8
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/ AjaxToggleForm.php, line 132
Class
- AjaxToggleForm
- Build a form to switch state of targeted FieldItem.
Namespace
Drupal\toggle_editable_fields\FormCode
public function submitForm(array &$form, FormStateInterface $form_state) {
}