You are here

public function TamperDeleteForm::getCancelUrl in Feeds Tamper 8.2

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/TamperDeleteForm.php, line 41

Class

TamperDeleteForm
Tamper delete form.

Namespace

Drupal\feeds_tamper\Form

Code

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