You are here

public function FacetDeleteConfirmForm::getCancelUrl in Facets 8

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/FacetDeleteConfirmForm.php, line 24

Class

FacetDeleteConfirmForm
Defines a confirm form for deleting a facet.

Namespace

Drupal\facets\Form

Code

public function getCancelUrl() {
  return new Url('facets.overview');
}