public function ResolverRelationshipDelete::submitForm in Chaos Tool Suite (ctools) 8.3
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/ ResolverRelationshipDelete.php, line 107
Class
Namespace
Drupal\ctools\FormCode
public function submitForm(array &$form, FormStateInterface $form_state) {
$cached_values = $this->tempstore
->get($this->tempstore_id)
->get($this->machine_name);
$form_state
->setRedirectUrl($this
->getCancelUrl($cached_values));
}