function ConfirmFormInterface::getCancelUrl

Same name in other branches
  1. 9 core/lib/Drupal/Core/Form/ConfirmFormInterface.php \Drupal\Core\Form\ConfirmFormInterface::getCancelUrl()
  2. 8.9.x core/lib/Drupal/Core/Form/ConfirmFormInterface.php \Drupal\Core\Form\ConfirmFormInterface::getCancelUrl()
  3. 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.

41 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.
BreakLockForm::getCancelUrl in core/modules/views_ui/src/Form/BreakLockForm.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.

... See full list

File

core/lib/Drupal/Core/Form/ConfirmFormInterface.php, line 24

Class

ConfirmFormInterface
Defines the behavior a confirmation form.

Namespace

Drupal\Core\Form

Code

public function getCancelUrl();

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.