You are here

public function MigrationDeleteForm::getCancelUrl in Migrate Tools 8.2

Same name and namespace in other branches
  1. 8.5 src/Form/MigrationDeleteForm.php \Drupal\migrate_tools\Form\MigrationDeleteForm::getCancelUrl()
  2. 8 src/Form/MigrationDeleteForm.php \Drupal\migrate_tools\Form\MigrationDeleteForm::getCancelUrl()
  3. 8.3 src/Form/MigrationDeleteForm.php \Drupal\migrate_tools\Form\MigrationDeleteForm::getCancelUrl()
  4. 8.4 src/Form/MigrationDeleteForm.php \Drupal\migrate_tools\Form\MigrationDeleteForm::getCancelUrl()

Gets the cancel URL.

Return value

\Drupal\Core\Url The URL to go to if the user cancels the deletion.

Overrides ConfirmFormInterface::getCancelUrl

1 call to MigrationDeleteForm::getCancelUrl()
MigrationDeleteForm::submitForm in src/Form/MigrationDeleteForm.php
The submit handler for the confirm form.

File

src/Form/MigrationDeleteForm.php, line 46

Class

MigrationDeleteForm
Class MigrationDeleteForm.

Namespace

Drupal\migrate_tools\Form

Code

public function getCancelUrl() {
  return new Url('entity.migration_group.list');
}