You are here

public function DomainAliasDeleteForm::getCancelUrl in Domain Access 8

Overrides EntityDeleteFormTrait::getCancelUrl

File

domain_alias/src/Form/DomainAliasDeleteForm.php, line 16

Class

DomainAliasDeleteForm
Builds the form to delete a domain_alias record.

Namespace

Drupal\domain_alias\Form

Code

public function getCancelUrl() {
  return new Url('domain_alias.admin', [
    'domain' => $this->entity
      ->getDomainId(),
  ]);
}