You are here

public function LingotekDisassociateAllConfirmForm::getCancelUrl in Lingotek Translation 3.1.x

Same name and namespace in other branches
  1. 8.2 src/Form/LingotekDisassociateAllConfirmForm.php \Drupal\lingotek\Form\LingotekDisassociateAllConfirmForm::getCancelUrl()
  2. 4.0.x src/Form/LingotekDisassociateAllConfirmForm.php \Drupal\lingotek\Form\LingotekDisassociateAllConfirmForm::getCancelUrl()
  3. 3.0.x src/Form/LingotekDisassociateAllConfirmForm.php \Drupal\lingotek\Form\LingotekDisassociateAllConfirmForm::getCancelUrl()
  4. 3.2.x src/Form/LingotekDisassociateAllConfirmForm.php \Drupal\lingotek\Form\LingotekDisassociateAllConfirmForm::getCancelUrl()
  5. 3.3.x src/Form/LingotekDisassociateAllConfirmForm.php \Drupal\lingotek\Form\LingotekDisassociateAllConfirmForm::getCancelUrl()
  6. 3.4.x src/Form/LingotekDisassociateAllConfirmForm.php \Drupal\lingotek\Form\LingotekDisassociateAllConfirmForm::getCancelUrl()
  7. 3.5.x src/Form/LingotekDisassociateAllConfirmForm.php \Drupal\lingotek\Form\LingotekDisassociateAllConfirmForm::getCancelUrl()
  8. 3.6.x src/Form/LingotekDisassociateAllConfirmForm.php \Drupal\lingotek\Form\LingotekDisassociateAllConfirmForm::getCancelUrl()
  9. 3.7.x src/Form/LingotekDisassociateAllConfirmForm.php \Drupal\lingotek\Form\LingotekDisassociateAllConfirmForm::getCancelUrl()
  10. 3.8.x src/Form/LingotekDisassociateAllConfirmForm.php \Drupal\lingotek\Form\LingotekDisassociateAllConfirmForm::getCancelUrl()

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

Return value

\Drupal\Core\Url A URL object.

Overrides ConfirmFormInterface::getCancelUrl

1 call to LingotekDisassociateAllConfirmForm::getCancelUrl()
LingotekDisassociateAllConfirmForm::submitForm in src/Form/LingotekDisassociateAllConfirmForm.php
Form submission handler.

File

src/Form/LingotekDisassociateAllConfirmForm.php, line 100

Class

LingotekDisassociateAllConfirmForm
Show a warning before disassociate all content.

Namespace

Drupal\lingotek\Form

Code

public function getCancelUrl() {
  return new Url('lingotek.settings');
}