You are here

public function MigrateUpgradeForm::getCancelUrl in Migrate Upgrade 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/MigrateUpgradeForm.php, line 1209
Contains \Drupal\migrate_upgrade\Form\MigrateUpgradeForm.

Class

MigrateUpgradeForm
Defines a multi-step form for performing direct site upgrades.

Namespace

Drupal\migrate_upgrade\Form

Code

public function getCancelUrl() {
  return new Url('migrate_upgrade.upgrade');
}