You are here

public function RegistrantTypeDeleteForm::getCancelUrl in RNG - Events and Registrations 3.x

Same name and namespace in other branches
  1. 8.2 src/Form/Entity/RegistrantTypeDeleteForm.php \Drupal\rng\Form\Entity\RegistrantTypeDeleteForm::getCancelUrl()
  2. 8 src/Form/Entity/RegistrantTypeDeleteForm.php \Drupal\rng\Form\Entity\RegistrantTypeDeleteForm::getCancelUrl()

Overrides EntityDeleteFormTrait::getCancelUrl

File

src/Form/Entity/RegistrantTypeDeleteForm.php, line 40

Class

RegistrantTypeDeleteForm
Form controller to delete a registrant type.

Namespace

Drupal\rng\Form\Entity

Code

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