function ContextDelete::submitForm
Same name in other branches
- 8.x-3.x src/Form/ContextDelete.php \Drupal\ctools\Form\ContextDelete::submitForm()
Overrides FormInterface::submitForm
File
-
src/
Form/ ContextDelete.php, line 81
Class
- ContextDelete
- Provides a form for deleting an contexts and relationships.
Namespace
Drupal\ctools\FormCode
public function submitForm(array &$form, FormStateInterface $form_state) {
$form_state->setRedirectUrl($this->getCancelUrl());
}