public function ModalDeleteForm::getCancelUrl in Modal 8.3
Same name and namespace in other branches
- 8.2 src/Form/ModalDeleteForm.php \Drupal\modal_page\Form\ModalDeleteForm::getCancelUrl()
- 5.0.x src/Form/ModalDeleteForm.php \Drupal\modal_page\Form\ModalDeleteForm::getCancelUrl()
- 4.0.x src/Form/ModalDeleteForm.php \Drupal\modal_page\Form\ModalDeleteForm::getCancelUrl()
- 4.1.x src/Form/ModalDeleteForm.php \Drupal\modal_page\Form\ModalDeleteForm::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/ ModalDeleteForm.php, line 24
Class
- ModalDeleteForm
- Class: ModalDeleteForm.
Namespace
Drupal\modal_page\FormCode
public function getCancelUrl() {
return new Url('modal_page.default');
}