function ConfirmFormInterface::getCancelUrl
Same name and namespace in other branches
- 11.x core/lib/Drupal/Core/Form/ConfirmFormInterface.php \Drupal\Core\Form\ConfirmFormInterface::getCancelUrl()
- 10 core/lib/Drupal/Core/Form/ConfirmFormInterface.php \Drupal\Core\Form\ConfirmFormInterface::getCancelUrl()
- 8.9.x 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.
9 methods override ConfirmFormInterface::getCancelUrl()
- 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.
- DblogClearLogConfirmForm::getCancelUrl in core/
modules/ dblog/ src/ Form/ DblogClearLogConfirmForm.php - Returns the route to go to if the user cancels the action.
- DiscardLayoutChangesForm::getCancelUrl in core/
modules/ layout_builder/ src/ Form/ DiscardLayoutChangesForm.php - Returns the route to go to if the user cancels the action.
- LayoutBuilderDisableForm::getCancelUrl in core/
modules/ layout_builder/ src/ Form/ LayoutBuilderDisableForm.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();
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.