You are here

public function MergeMultipleForm::getCancelUrl in Bibliography & Citation 8

Same name and namespace in other branches
  1. 2.0.x modules/bibcite_entity/src/Form/MergeMultipleForm.php \Drupal\bibcite_entity\Form\MergeMultipleForm::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/MergeMultipleForm.php, line 113

Class

MergeMultipleForm
Merge multiple bibliographic entities into one.

Namespace

Drupal\bibcite_entity\Form

Code

public function getCancelUrl() {
  return new Url("entity.{$this->entityType->id()}.collection");
}