1 # @deprecated in Drupal 8.6.x, to be removed before Drupal 9.0.0.
2 # This route is not used in Drupal core. As an internal API, it may also be
3 # removed in a minor release. If you are using it, copy the class
4 # and the related "entity.media.multiple_delete_confirm" route to your
6 entity.media.multiple_delete_confirm:
7 path: '/admin/content/media/delete'
9 _form: '\Drupal\media\Form\MediaDeleteMultipleConfirmForm'
11 _permission: 'administer media+delete any media'
13 entity.media.revision:
14 path: '/media/{media}/revisions/{media_revision}/view'
16 _controller: '\Drupal\Core\Entity\Controller\EntityViewController::viewRevision'
17 _title_callback: '\Drupal\Core\Entity\Controller\EntityController::title'
23 type: entity_revision:media
25 _access_media_revision: 'view'
31 _controller: '\Drupal\media\Controller\OEmbedIframeController::render'
33 _permission: 'view media'
36 path: '/admin/config/media/media-settings'
38 _form: '\Drupal\media\Form\MediaSettingsForm'
39 _title: 'Media settings'
41 _permission: 'administer media'