public function LingotekInterfaceTranslationClearMetadataForm::getCancelUrl in Lingotek Translation 3.4.x
Same name and namespace in other branches
- 4.0.x src/Form/LingotekInterfaceTranslationClearMetadataForm.php \Drupal\lingotek\Form\LingotekInterfaceTranslationClearMetadataForm::getCancelUrl()
- 3.2.x src/Form/LingotekInterfaceTranslationClearMetadataForm.php \Drupal\lingotek\Form\LingotekInterfaceTranslationClearMetadataForm::getCancelUrl()
- 3.3.x src/Form/LingotekInterfaceTranslationClearMetadataForm.php \Drupal\lingotek\Form\LingotekInterfaceTranslationClearMetadataForm::getCancelUrl()
- 3.5.x src/Form/LingotekInterfaceTranslationClearMetadataForm.php \Drupal\lingotek\Form\LingotekInterfaceTranslationClearMetadataForm::getCancelUrl()
- 3.6.x src/Form/LingotekInterfaceTranslationClearMetadataForm.php \Drupal\lingotek\Form\LingotekInterfaceTranslationClearMetadataForm::getCancelUrl()
- 3.7.x src/Form/LingotekInterfaceTranslationClearMetadataForm.php \Drupal\lingotek\Form\LingotekInterfaceTranslationClearMetadataForm::getCancelUrl()
- 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\FormCode
public function getCancelUrl() {
return new Url('lingotek.manage_interface_translation');
}