W3cubDocs

/Drupal 8

public function ConfirmFormInterface::getCancelUrl

public ConfirmFormInterface::getCancelUrl()

Returns the route to go to if the user cancels the action.

Return value

\Drupal\Core\Url A URL object.

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();

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Form!ConfirmFormInterface.php/function/ConfirmFormInterface::getCancelUrl/8.1.x