You are here

public function DeleteMultiple::getCancelUrl in Bibliography & Citation 8

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

Class

DeleteMultiple
Delete multiple entities form.

Namespace

Drupal\bibcite_entity\Form

Code

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