2018-02-07 22:11:31 +00:00
|
|
|
# @deprecated in Drupal 8.6.x, to be removed before Drupal 9.0.0.
|
|
|
|
# This route is not used in Drupal core. As an internal API, it may also be
|
|
|
|
# removed in a minor release. If you are using it, copy the class
|
|
|
|
# and the related "entity.media.multiple_delete_confirm" route to your
|
|
|
|
# module.
|
Issue #2831274 by slashrsm, seanB, Wim Leers, chr.fritsch, phenaproxima, naveenvalecha, marcoscano, webflo, Gábor Hojtsy, amateescu, Boobaa, iMiksu, mtodor, effulgentsia, xjm, Berdir, tim.plunkett, dawehner, tkoleary, tstoeckler, tedbow, alexpott, yoroy, catch, Bojhan, andypost, jhedstrom, jibran, aspilicious, boztek, cbr, bigbaldy, alex0412, dagmar, blueminds, ekes, Dave Reid, Sam152, bojanz, pixelmord, jonathanshaw, CTaPByK, webchick, samuel.mortenson, dbt102, dishabhadra, proweb.ua, rakesh.gectcr, rasikap, paranojik, pameeela, neardark, NormySan, Primsi, nicolas.rafaelli, romainj, royal121, vladan.me, vpeltot, woprrr, vilepickle, toni04, scheban, tduong, temkin, tim-e, mbovan, mashermike, felribeiro, giancarlosotelo, hctom, euphoric_mv, eric.duran7@gmail.com, edurenye, eelkeblok, H1ghlander, Jaesin, hkirsman, ja_ca, NickWilde, joachim, joshi.rohit100, marcingy, NerOcrO, Mixologic, jcisio, jfrederick, Lukas von Blarer, Maouna: Bring Media entity module to core as Media module
2017-05-19 12:57:59 +00:00
|
|
|
entity.media.multiple_delete_confirm:
|
|
|
|
path: '/admin/content/media/delete'
|
|
|
|
defaults:
|
|
|
|
_form: '\Drupal\media\Form\MediaDeleteMultipleConfirmForm'
|
|
|
|
requirements:
|
|
|
|
_permission: 'administer media+delete any media'
|
2017-07-05 07:24:22 +00:00
|
|
|
|
|
|
|
entity.media.revision:
|
|
|
|
path: '/media/{media}/revisions/{media_revision}/view'
|
|
|
|
defaults:
|
|
|
|
_controller: '\Drupal\Core\Entity\Controller\EntityViewController::viewRevision'
|
|
|
|
_title_callback: '\Drupal\Core\Entity\Controller\EntityController::title'
|
|
|
|
options:
|
|
|
|
parameters:
|
|
|
|
media:
|
|
|
|
type: entity:media
|
|
|
|
media_revision:
|
|
|
|
type: entity_revision:media
|
|
|
|
requirements:
|
|
|
|
_access_media_revision: 'view'
|
|
|
|
media: \d+
|
Issue #2831944 by chr.fritsch, phenaproxima, alexpott, marcoscano, slashrsm, seanB, robpowell, samuel.mortenson, tstoeckler, Wim Leers, dawehner, martin107, Gábor Hojtsy, aheimlich, tedbow, mtodor, larowlan, idebr, bkosborne, ckrina: Implement media source plugin for remote video via oEmbed
2018-06-21 08:11:10 +00:00
|
|
|
|
|
|
|
media.oembed_iframe:
|
|
|
|
path: '/media/oembed'
|
|
|
|
defaults:
|
|
|
|
_controller: '\Drupal\media\Controller\OEmbedIframeController::render'
|
|
|
|
requirements:
|
|
|
|
_permission: 'view media'
|
|
|
|
|
|
|
|
media.settings:
|
|
|
|
path: '/admin/config/media/media-settings'
|
|
|
|
defaults:
|
|
|
|
_form: '\Drupal\media\Form\MediaSettingsForm'
|
|
|
|
_title: 'Media settings'
|
|
|
|
requirements:
|
|
|
|
_permission: 'administer media'
|