public function RegistrationDeleteForm::getCancelUrl in RNG - Events and Registrations 8
Same name and namespace in other branches
- 8.2 src/Form/RegistrationDeleteForm.php \Drupal\rng\Form\RegistrationDeleteForm::getCancelUrl()
- 3.x src/Form/RegistrationDeleteForm.php \Drupal\rng\Form\RegistrationDeleteForm::getCancelUrl()
Returns the route to go to if the user cancels the action.
Return value
\Drupal\Core\Url A URL object.
Overrides ConfirmFormInterface::getCancelUrl
File
- src/
Form/ RegistrationDeleteForm.php, line 22
Class
- RegistrationDeleteForm
- Form for deleting a registration.
Namespace
Drupal\rng\FormCode
public function getCancelUrl() {
return $this->entity
->urlInfo();
}