public function RouterRebuildConfirmForm::getCancelUrl in Devel 8
Same name and namespace in other branches
- 8.3 src/Form/RouterRebuildConfirmForm.php \Drupal\devel\Form\RouterRebuildConfirmForm::getCancelUrl()
- 8.2 src/Form/RouterRebuildConfirmForm.php \Drupal\devel\Form\RouterRebuildConfirmForm::getCancelUrl()
- 4.x src/Form/RouterRebuildConfirmForm.php \Drupal\devel\Form\RouterRebuildConfirmForm::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/ RouterRebuildConfirmForm.php, line 59
Class
- RouterRebuildConfirmForm
- Provides confirmation form for rebuilding the routes.
Namespace
Drupal\devel\FormCode
public function getCancelUrl() {
return new Url('<front>');
}