You are here

public function FileHashGenerateForm::getCancelUrl in File Hash 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/FileHashGenerateForm.php, line 46

Class

FileHashGenerateForm
Implements the file MIME generate settings form.

Namespace

Drupal\filehash\Form

Code

public function getCancelUrl() {
  return new Url('filehash.admin');
}