You are here

public function FileMimeApplyForm::getCancelUrl in File MIME 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/FileMimeApplyForm.php, line 47

Class

FileMimeApplyForm
Implements the file MIME apply settings form.

Namespace

Drupal\filemime\Form

Code

public function getCancelUrl() {
  return new Url('filemime.settings');
}