You are here

public function SearchLogClearDataForm::getCancelUrl in Search Log 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/SearchLogClearDataForm.php, line 78

Class

SearchLogClearDataForm
Defines a confirmation form to confirm deletion of search logs.

Namespace

Drupal\search_log\Form

Code

public function getCancelUrl() {
  return new Url('search_log.admin_config');
}