You are here

public function FileDeleteMultipleForm::getCancelUrl in File Entity (fieldable files) 8.2

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/FileDeleteMultipleForm.php, line 86

Class

FileDeleteMultipleForm
Provides a file deletion confirmation form.

Namespace

Drupal\file_entity\Form

Code

public function getCancelUrl() {
  return new Url('entity.file.collection');
}