public function KeyEditForm::confirmEdit in Key 8
Submit handler for the edit confirmation button.
Parameters
array $form: The form.
\Drupal\Core\Form\FormStateInterface $form_state: The form state.
File
- src/
Form/ KeyEditForm.php, line 147
Class
- KeyEditForm
- Class KeyEditForm.
Namespace
Drupal\key\FormCode
public function confirmEdit(array &$form, FormStateInterface $form_state) {
$this->editConfirmed = TRUE;
$form_state
->setRebuild();
}