public function ConditionalFieldDeleteFormTab::submitForm in Conditional Fields 4.x
Same name and namespace in other branches
- 8 src/Form/ConditionalFieldDeleteFormTab.php \Drupal\conditional_fields\Form\ConditionalFieldDeleteFormTab::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 ConditionalFieldDeleteForm::submitForm
File
- src/
Form/ ConditionalFieldDeleteFormTab.php, line 57
Class
- ConditionalFieldDeleteFormTab
- A conditional field delete form designed to be displayed as a tab.
Namespace
Drupal\conditional_fields\FormCode
public function submitForm(array &$form, FormStateInterface $form_state) {
parent::submitForm($form, $form_state);
$form_state
->setRedirectUrl($this
->getCancelUrl());
}