public function MediaDeleteMultipleConfirmForm::getCancelUrl in Drupal 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
- core/
modules/ media/ src/ Form/ MediaDeleteMultipleConfirmForm.php, line 88
Class
- MediaDeleteMultipleConfirmForm
- Provides a confirmation form to delete multiple media items at once.
Namespace
Drupal\media\FormCode
public function getCancelUrl() {
// @todo Change to media library when #2834729 is done.
// https://www.drupal.org/node/2834729.
return new Url('system.admin_content');
}