function ConfirmFormInterface::getCancelUrl

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

... 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.