public function AutocompletionConfigurationDeleteForm::getCancelUrl in Search Autocomplete 2.x
Same name and namespace in other branches
- 8 src/Form/AutocompletionConfigurationDeleteForm.php \Drupal\search_autocomplete\Form\AutocompletionConfigurationDeleteForm::getCancelUrl()
Gets the cancel URL.
Provides the URL to go to if the user cancels the action. For entity delete forms, this is typically the route that points at the list controller.
Return value
\Drupal\Core\Url The URL to go to if the user cancels the deletion.
Overrides ConfirmFormInterface::getCancelUrl
1 call to AutocompletionConfigurationDeleteForm::getCancelUrl()
- AutocompletionConfigurationDeleteForm::submitForm in src/
Form/ AutocompletionConfigurationDeleteForm.php - The submit handler for the confirm form.
File
- src/
Form/ AutocompletionConfigurationDeleteForm.php, line 89
Class
- AutocompletionConfigurationDeleteForm
- Class AutocompletionConfigurationDeleteForm.
Namespace
Drupal\search_autocomplete\FormCode
public function getCancelUrl() {
return new Url('autocompletion_configuration.list');
}