public function RuleDeleteForm::getCancelUrl in RNG - Events and Registrations 8
Same name and namespace in other branches
- 8.2 src/Form/RuleDeleteForm.php \Drupal\rng\Form\RuleDeleteForm::getCancelUrl()
- 3.x src/Form/RuleDeleteForm.php \Drupal\rng\Form\RuleDeleteForm::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/ RuleDeleteForm.php, line 23
Class
- RuleDeleteForm
- Form for deleting a rng rule.
Namespace
Drupal\rng\FormCode
public function getCancelUrl() {
return $this->entity
->getEvent()
->urlInfo();
}