public function MigrationConfirmationForm::getCancelUrl in Lightning Workflow 8.2
Same name and namespace in other branches
- 8.3 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\FormCode
public function getCancelUrl() {
return Url::fromRoute('<front>');
}