function RouterRebuildConfirmForm::getCancelUrl

Same name in other branches
  1. 8.x-1.x src/Form/RouterRebuildConfirmForm.php \Drupal\devel\Form\RouterRebuildConfirmForm::getCancelUrl()
  2. 4.x src/Form/RouterRebuildConfirmForm.php \Drupal\devel\Form\RouterRebuildConfirmForm::getCancelUrl()

Overrides ConfirmFormInterface::getCancelUrl

File

src/Form/RouterRebuildConfirmForm.php, line 50

Class

RouterRebuildConfirmForm
Provides confirmation form for rebuilding the routes.

Namespace

Drupal\devel\Form

Code

public function getCancelUrl() : Url {
    return new Url('<front>');
}