You are here

public function DomainPathDeleteForm::getCancelUrl in Domain Path 8

If the delete command is canceled, return to the domain path list.

Overrides ContentEntityDeleteForm::getCancelUrl

File

src/Form/DomainPathDeleteForm.php, line 27

Class

DomainPathDeleteForm
Provides a form for deleting a domain_path entity.

Namespace

Drupal\domain_path\Form

Code

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