function FilterEnableForm::getCancelUrl
Same name and namespace in other branches
- main core/modules/filter/src/Form/FilterEnableForm.php \Drupal\filter\Form\FilterEnableForm::getCancelUrl()
Returns the route to go to if the user cancels the action.
Return value
\Drupal\Core\Url A URL object.
Overrides ConfirmFormInterface::getCancelUrl
1 call to FilterEnableForm::getCancelUrl()
- FilterEnableForm::submitForm in core/
modules/ filter/ src/ Form/ FilterEnableForm.php
File
-
core/
modules/ filter/ src/ Form/ FilterEnableForm.php, line 27
Class
- FilterEnableForm
- Provides the filter format enable form.
Namespace
Drupal\filter\FormCode
public function getCancelUrl() : Url {
return new Url('filter.admin_overview');
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.