You are here

public function MigrationConfirmationForm::getCancelUrl in Lightning Workflow 8.3

Same name and namespace in other branches
  1. 8.2 modules/lightning_scheduler/src/Form/MigrationConfirmationForm.php \Drupal\lightning_scheduler\Form\MigrationConfirmationForm::getCancelUrl()

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

Return value

\Drupal\Core\Url A URL object.

Overrides ConfirmFormInterface::getCancelUrl

File

modules/lightning_scheduler/src/Form/MigrationConfirmationForm.php, line 137

Class

MigrationConfirmationForm
Provides a UI for migrating or purging scheduled transition data.

Namespace

Drupal\lightning_scheduler\Form

Code

public function getCancelUrl() {
  return Url::fromRoute('<front>');
}