function MediaDeleteMultipleConfirmForm::getCancelUrl

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\Form

Code

public function getCancelUrl() {
    // @todo Change to media library when #2834729 is done.
    // https://www.drupal.org/node/2834729.
    return new Url('system.admin_content');
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.