You are here

public function KeyDeleteForm::getCancelUrl in Key 8

Overrides EntityDeleteFormTrait::getCancelUrl

File

src/Form/KeyDeleteForm.php, line 25

Class

KeyDeleteForm
Builds the form to delete a Key.

Namespace

Drupal\key\Form

Code

public function getCancelUrl() {
  return new Url('entity.key.collection');
}