public function CallbackDeleteForm::getCancelUrl in Empty Page 8
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/ CallbackDeleteForm.php, line 41
Class
- CallbackDeleteForm
- Provides a form to delete a empty page.
Namespace
Drupal\empty_page\FormCode
public function getCancelUrl() {
return Url::fromRoute('empty_page.administration');
}