You are here

public function LingotekInterfaceTranslationClearMetadataForm::getCancelUrl in Lingotek Translation 3.4.x

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

File

src/Form/LingotekInterfaceTranslationClearMetadataForm.php, line 73

Class

LingotekInterfaceTranslationClearMetadataForm
Provides a form to disconnect from Lingotek.

Namespace

Drupal\lingotek\Form

Code

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