public function ConfirmFormInterface::getCancelUrl in Drupal 10
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Form/ConfirmFormInterface.php \Drupal\Core\Form\ConfirmFormInterface::getCancelUrl()
- 9 core/lib/Drupal/Core/Form/ConfirmFormInterface.php \Drupal\Core\Form\ConfirmFormInterface::getCancelUrl()
Returns the route to go to if the user cancels the action.
Return value
\Drupal\Core\Url A URL object.
32 methods override ConfirmFormInterface::getCancelUrl()
- BanDelete::getCancelUrl in core/
modules/ ban/ src/ Form/ BanDelete.php - Returns the route to go to if the user cancels the action.
- BookRemoveForm::getCancelUrl in core/
modules/ book/ src/ Form/ BookRemoveForm.php - Returns the route to go to if the user cancels the action.
- ConfigSingleImportForm::getCancelUrl in core/
modules/ config/ src/ Form/ ConfigSingleImportForm.php - Returns the route to go to if the user cancels the action.
- ConfigTranslationDeleteForm::getCancelUrl in core/
modules/ config_translation/ src/ Form/ ConfigTranslationDeleteForm.php - Returns the route to go to if the user cancels the action.
- ConfirmFormTestForm::getCancelUrl in core/
modules/ system/ tests/ modules/ form_test/ src/ ConfirmFormTestForm.php - Returns the route to go to if the user cancels the action.
File
- core/
lib/ Drupal/ Core/ Form/ ConfirmFormInterface.php, line 24
Class
- ConfirmFormInterface
- Defines the behavior a confirmation form.
Namespace
Drupal\Core\FormCode
public function getCancelUrl();