You are here

public function DeleteMultiple::getCancelUrl in Media entity 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/DeleteMultiple.php, line 82

Class

DeleteMultiple
Provides a media deletion confirmation form.

Namespace

Drupal\media_entity\Form

Code

public function getCancelUrl() {
  return new Url('system.admin_content');
}