You are here

public function MergeConfirmForm::getCancelUrl in Bibliography & Citation 8

Same name and namespace in other branches
  1. 2.0.x modules/bibcite_entity/src/Form/MergeConfirmForm.php \Drupal\bibcite_entity\Form\MergeConfirmForm::getCancelUrl()

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

Return value

\Drupal\Core\Url A URL object.

Overrides ConfirmFormInterface::getCancelUrl

File

modules/bibcite_entity/src/Form/MergeConfirmForm.php, line 74

Class

MergeConfirmForm
Confirm merge of bibliographic entities.

Namespace

Drupal\bibcite_entity\Form

Code

public function getCancelUrl() {
  return $this->source
    ->toUrl('bibcite-merge-form');
}