You are here

public function ReactionDeleteForm::getCancelUrl in Context 8

Same name and namespace in other branches
  1. 8.4 modules/context_ui/src/Form/ReactionDeleteForm.php \Drupal\context_ui\Form\ReactionDeleteForm::getCancelUrl()
  2. 8.0 modules/context_ui/src/Form/ReactionDeleteForm.php \Drupal\context_ui\Form\ReactionDeleteForm::getCancelUrl()

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

Return value

\Drupal\Core\Url A URL object.

Overrides ConfirmFormInterface::getCancelUrl

1 call to ReactionDeleteForm::getCancelUrl()
ReactionDeleteForm::submitForm in modules/context_ui/src/Form/ReactionDeleteForm.php
Form submission handler.

File

modules/context_ui/src/Form/ReactionDeleteForm.php, line 71

Class

ReactionDeleteForm

Namespace

Drupal\context_ui\Form

Code

public function getCancelUrl() {
  return $this->context
    ->urlInfo();
}