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'
|
Issue #2994696 by oknate, Wim Leers, phenaproxima, starshaped, lauriii, andrewmacpherson, ckrina, a.milkovsky, John Pitcairn, artis, cs_shadow, duncan.moo, Berdir, JamesK, Ambidex, BartK, idflood, Dave Reid, CTaPByK, Reinmar, kmoll, webflo, thenchev, wrd, yched, kkrzton, slashrsm, root_brute, Ruuds, MobliMic, ls206, marcoscano, pixelmord, narnua: Render embedded media items in CKEditor
2019-08-07 06:11:04 +00:00
|
|
|
|
|
|
|
media.filter.preview:
|
|
|
|
path: '/media/{filter_format}/preview'
|
|
|
|
defaults:
|
|
|
|
_controller: '\Drupal\media\Controller\MediaFilterController::preview'
|
|
|
|
methods: [GET]
|
|
|
|
requirements:
|
|
|
|
_entity_access: 'filter_format.use'
|
|
|
|
_custom_access: '\Drupal\media\Controller\MediaFilterController::formatUsesMediaEmbedFilter'
|
Issue #2994702 by oknate, Wim Leers, phenaproxima, kcolaers, webchick, seanB, effulgentsia, andrewmacpherson, rainbreaw, worldlinemine, AaronMcHale, jrockowitz, ckrina, bwebster719, Gábor Hojtsy: Allow editors to alter embed-specific metadata, as well as `data-align` and `data-caption`
2019-09-03 20:09:36 +00:00
|
|
|
|
|
|
|
editor.media_dialog:
|
|
|
|
path: '/editor/dialog/media/{editor}'
|
|
|
|
defaults:
|
|
|
|
_form: '\Drupal\media\Form\EditorMediaDialog'
|
|
|
|
_title: 'Edit media'
|
|
|
|
methods: [POST]
|
|
|
|
requirements:
|
|
|
|
_entity_access: 'editor.use'
|