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