public function CustomFilterDeleteForm::getCancelUrl in Custom filter 8
Same name and namespace in other branches
- 2.0.x src/Form/CustomFilterDeleteForm.php \Drupal\customfilter\Form\CustomFilterDeleteForm::getCancelUrl()
Returns the route to go to if the user cancels the action.
Return value
\Drupal\Core\Url A URL object.
Overrides ConfirmFormInterface::getCancelUrl
File
- src/
Form/ CustomFilterDeleteForm.php, line 29
Class
- CustomFilterDeleteForm
- Builds the form to delete a Custom Filter.
Namespace
Drupal\customfilter\FormCode
public function getCancelUrl() {
return new Url('entity.customfilter.list');
}