You are here

public function DeleteTermsConfirm::getCancelUrl in Taxonomy Multi-delete Terms 8

Returns the route to go to if the user cancels the action.

Return value

\Drupal\Core\Url A URL object.

Overrides ConfirmFormInterface::getCancelUrl

1 call to DeleteTermsConfirm::getCancelUrl()
DeleteTermsConfirm::getRedirectUrl in src/Form/DeleteTermsConfirm.php

File

src/Form/DeleteTermsConfirm.php, line 55

Class

DeleteTermsConfirm
Defines a confirmation form for deleting term data.

Namespace

Drupal\taxonomy_multidelete_terms\Form

Code

public function getCancelUrl() {
  return new Url('taxonomy_multidelete_terms.overview_form', array(
    'taxonomy_vocabulary' => $this
      ->getVocablaryName(),
  ));
}