You are here

public function CustomFilterDeleteForm::getCancelUrl in Custom filter 2.0.x

Same name and namespace in other branches
  1. 8 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 77

Class

CustomFilterDeleteForm
Builds the form to delete a Custom Filter.

Namespace

Drupal\customfilter\Form

Code

public function getCancelUrl() {
  return new Url('entity.customfilter.list');
}