You are here

public function DownloadCountResetForm::getCancelUrl in Download Count 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/DownloadCountResetForm.php, line 156

Class

DownloadCountResetForm
Implements the reset form controller.

Namespace

Drupal\download_count\Form

Code

public function getCancelUrl() {
  return new Url('download_count.reports');
}