You are here

public function DblogClearLogConfirmForm::getCancelUrl in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/dblog/src/Form/DblogClearLogConfirmForm.php \Drupal\dblog\Form\DblogClearLogConfirmForm::getCancelUrl()

Returns the route to go to if the user cancels the action.

Return value

\Drupal\Core\Url A URL object.

Overrides ConfirmFormInterface::getCancelUrl

1 call to DblogClearLogConfirmForm::getCancelUrl()
DblogClearLogConfirmForm::submitForm in core/modules/dblog/src/Form/DblogClearLogConfirmForm.php
Form submission handler.

File

core/modules/dblog/src/Form/DblogClearLogConfirmForm.php, line 64
Contains \Drupal\dblog\Form\DblogClearLogConfirmForm.

Class

DblogClearLogConfirmForm
Provides a confirmation form before clearing out the logs.

Namespace

Drupal\dblog\Form

Code

public function getCancelUrl() {
  return new Url('dblog.overview');
}