You are here

public function BlockDeleteForm::getCancelUrl in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/block/src/Form/BlockDeleteForm.php \Drupal\block\Form\BlockDeleteForm::getCancelUrl()

Overrides EntityDeleteFormTrait::getCancelUrl

File

core/modules/block/src/Form/BlockDeleteForm.php, line 21
Contains \Drupal\block\Form\BlockDeleteForm.

Class

BlockDeleteForm
Provides a deletion confirmation form for the block instance deletion form.

Namespace

Drupal\block\Form

Code

public function getCancelUrl() {
  return new Url('block.admin_display');
}