You are here

public function EckEntityBundleDeleteConfirm::getCancelUrl in Entity Construction Kit (ECK) 8

Overrides EntityDeleteFormTrait::getCancelUrl

1 call to EckEntityBundleDeleteConfirm::getCancelUrl()
EckEntityBundleDeleteConfirm::submitForm in src/Form/EntityBundle/EckEntityBundleDeleteConfirm.php

File

src/Form/EntityBundle/EckEntityBundleDeleteConfirm.php, line 54

Class

EckEntityBundleDeleteConfirm
Provides a form for ECK entity bundle deletion.

Namespace

Drupal\eck\Form\EntityBundle

Code

public function getCancelUrl() {
  return new Url('eck.entity.' . $this->entity
    ->getEntityTypeId() . '.list');
}