You are here

public function MigrationGroupDeleteForm::getCancelUrl in Migrate Tools 8

Same name and namespace in other branches
  1. 8.5 src/Form/MigrationGroupDeleteForm.php \Drupal\migrate_tools\Form\MigrationGroupDeleteForm::getCancelUrl()
  2. 8.2 src/Form/MigrationGroupDeleteForm.php \Drupal\migrate_tools\Form\MigrationGroupDeleteForm::getCancelUrl()
  3. 8.3 src/Form/MigrationGroupDeleteForm.php \Drupal\migrate_tools\Form\MigrationGroupDeleteForm::getCancelUrl()
  4. 8.4 src/Form/MigrationGroupDeleteForm.php \Drupal\migrate_tools\Form\MigrationGroupDeleteForm::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 MigrationGroupDeleteForm::getCancelUrl()
MigrationGroupDeleteForm::submitForm in src/Form/MigrationGroupDeleteForm.php
The submit handler for the confirm form.

File

src/Form/MigrationGroupDeleteForm.php, line 51
Contains Drupal\migrate_tools\Form\MigrationGroupDeleteForm.

Class

MigrationGroupDeleteForm
Class MigrationGroupDeleteForm.

Namespace

Drupal\migrate_tools\Form

Code

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