public function ConditionalFieldDeleteFormTab::submitForm in Conditional Fields 8
Same name and namespace in other branches
- 4.x 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 46
Class
- ConditionalFieldDeleteFormTab
- Class ConditionalFieldDeleteFormTab.
Namespace
Drupal\conditional_fields\FormCode
public function submitForm(array &$form, FormStateInterface $form_state) {
parent::submitForm($form, $form_state);
$form_state
->setRedirectUrl($this
->getCancelUrl());
}