You are here

public function IndexDeleteConfirmForm::getCancelUrl in Search API 8

Overrides EntityDeleteFormTrait::getCancelUrl

File

src/Form/IndexDeleteConfirmForm.php, line 52

Class

IndexDeleteConfirmForm
Defines a confirm form for deleting an index.

Namespace

Drupal\search_api\Form

Code

public function getCancelUrl() {
  return new Url('entity.search_api_index.canonical', [
    'search_api_index' => $this->entity
      ->id(),
  ]);
}