You are here

public function LingotekAccountDisconnectForm::getCancelUrl in Lingotek Translation 8

Same name and namespace in other branches
  1. 8.2 src/Form/LingotekAccountDisconnectForm.php \Drupal\lingotek\Form\LingotekAccountDisconnectForm::getCancelUrl()
  2. 4.0.x src/Form/LingotekAccountDisconnectForm.php \Drupal\lingotek\Form\LingotekAccountDisconnectForm::getCancelUrl()
  3. 3.0.x src/Form/LingotekAccountDisconnectForm.php \Drupal\lingotek\Form\LingotekAccountDisconnectForm::getCancelUrl()
  4. 3.1.x src/Form/LingotekAccountDisconnectForm.php \Drupal\lingotek\Form\LingotekAccountDisconnectForm::getCancelUrl()
  5. 3.2.x src/Form/LingotekAccountDisconnectForm.php \Drupal\lingotek\Form\LingotekAccountDisconnectForm::getCancelUrl()
  6. 3.3.x src/Form/LingotekAccountDisconnectForm.php \Drupal\lingotek\Form\LingotekAccountDisconnectForm::getCancelUrl()
  7. 3.4.x src/Form/LingotekAccountDisconnectForm.php \Drupal\lingotek\Form\LingotekAccountDisconnectForm::getCancelUrl()
  8. 3.5.x src/Form/LingotekAccountDisconnectForm.php \Drupal\lingotek\Form\LingotekAccountDisconnectForm::getCancelUrl()
  9. 3.6.x src/Form/LingotekAccountDisconnectForm.php \Drupal\lingotek\Form\LingotekAccountDisconnectForm::getCancelUrl()
  10. 3.7.x src/Form/LingotekAccountDisconnectForm.php \Drupal\lingotek\Form\LingotekAccountDisconnectForm::getCancelUrl()
  11. 3.8.x src/Form/LingotekAccountDisconnectForm.php \Drupal\lingotek\Form\LingotekAccountDisconnectForm::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 LingotekAccountDisconnectForm::getCancelUrl()
LingotekAccountDisconnectForm::submitForm in src/Form/LingotekAccountDisconnectForm.php
Form submission handler.

File

src/Form/LingotekAccountDisconnectForm.php, line 77
Contains \Drupal\lingotek\Form\LingotekAccountDisconnect.

Class

LingotekAccountDisconnectForm
Provides a form to disconnect from Lingotek.

Namespace

Drupal\lingotek\Form

Code

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