function ConfirmFormInterface::getCancelUrl
Same name and namespace in other branches
- 9 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()
- 11.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.
12 methods override ConfirmFormInterface::getCancelUrl()
- BreakLockForm::getCancelUrl in core/
modules/ views_ui/ src/ Form/ BreakLockForm.php - Returns the route to go to if the user cancels the action.
- ContentEntityDeleteForm::getCancelUrl in core/
lib/ Drupal/ Core/ Entity/ ContentEntityDeleteForm.php - Returns the route to go to if the user cancels the action.
- DeleteMultipleForm::getCancelUrl in core/
lib/ Drupal/ Core/ Entity/ Form/ DeleteMultipleForm.php - Returns the route to go to if the user cancels the action.
- ImageEffectDeleteForm::getCancelUrl in core/
modules/ image/ src/ Form/ ImageEffectDeleteForm.php - Returns the route to go to if the user cancels the action.
- ImageStyleFlushForm::getCancelUrl in core/
modules/ image/ src/ Form/ ImageStyleFlushForm.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.