function RouterRebuildConfirmForm::getCancelUrl

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

File

src/Form/RouterRebuildConfirmForm.php, line 59

Class

RouterRebuildConfirmForm
Provides confirmation form for rebuilding the routes.

Namespace

Drupal\devel\Form

Code

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