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
|
|
|
services:
|
|
|
|
plugin.manager.media.source:
|
|
|
|
class: Drupal\media\MediaSourceManager
|
|
|
|
parent: default_plugin_manager
|
2017-07-05 07:24:22 +00:00
|
|
|
access_check.media.revision:
|
|
|
|
class: Drupal\media\Access\MediaRevisionAccessCheck
|
|
|
|
arguments: ['@entity_type.manager']
|
|
|
|
tags:
|
|
|
|
- { name: access_check, applies_to: _access_media_revision }
|
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.url_resolver:
|
|
|
|
class: Drupal\media\OEmbed\UrlResolver
|
|
|
|
arguments: ['@media.oembed.provider_repository', '@media.oembed.resource_fetcher', '@http_client', '@module_handler', '@cache.default']
|
|
|
|
media.oembed.provider_repository:
|
|
|
|
class: Drupal\media\OEmbed\ProviderRepository
|
|
|
|
arguments: ['@http_client', '@config.factory', '@datetime.time', '@cache.default']
|
|
|
|
media.oembed.resource_fetcher:
|
|
|
|
class: Drupal\media\OEmbed\ResourceFetcher
|
|
|
|
arguments: ['@http_client', '@media.oembed.provider_repository', '@cache.default']
|
|
|
|
media.oembed.iframe_url_helper:
|
|
|
|
class: Drupal\media\IFrameUrlHelper
|
|
|
|
arguments: ['@router.request_context', '@private_key']
|