You are here

public function SearchApiPageDeleteForm::getCancelUrl in Search API Pages 8

Overrides EntityDeleteFormTrait::getCancelUrl

1 call to SearchApiPageDeleteForm::getCancelUrl()
SearchApiPageDeleteForm::submitForm in src/Form/SearchApiPageDeleteForm.php

File

src/Form/SearchApiPageDeleteForm.php, line 24

Class

SearchApiPageDeleteForm
Builds the form to delete Search page entities.

Namespace

Drupal\search_api_page\Form

Code

public function getCancelUrl() {
  return new Url('entity.search_api_page.collection');
}