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
|
|
|
{#
|
|
|
|
/**
|
|
|
|
* @file
|
|
|
|
* Default theme implementation to present a media item.
|
|
|
|
*
|
|
|
|
* Available variables:
|
|
|
|
* - media: The media item, with limited access to object properties and
|
|
|
|
* methods. Only method names starting with "get", "has", or "is" and
|
|
|
|
* a few common methods such as "id", "label", and "bundle" are available.
|
|
|
|
* For example:
|
|
|
|
* - entity.getEntityTypeId() will return the entity type ID.
|
|
|
|
* - entity.hasField('field_example') returns TRUE if the entity includes
|
|
|
|
* field_example. (This does not indicate the presence of a value in this
|
|
|
|
* field.)
|
|
|
|
* Calling other methods, such as entity.delete(), will result in
|
|
|
|
* an exception.
|
|
|
|
* See \Drupal\Core\Entity\EntityInterface for a full list of methods.
|
|
|
|
* - name: Name of the media item.
|
|
|
|
* - content: Media content.
|
|
|
|
* - title_prefix: Additional output populated by modules, intended to be
|
|
|
|
* displayed in front of the main title tag that appears in the template.
|
|
|
|
* - title_suffix: Additional output populated by modules, intended to be
|
|
|
|
* displayed after the main title tag that appears in the template.
|
|
|
|
* - view_mode: View mode; for example, "teaser" or "full".
|
|
|
|
* - attributes: HTML attributes for the containing element.
|
|
|
|
* - title_attributes: Same as attributes, except applied to the main title
|
|
|
|
* tag that appears in the template.
|
|
|
|
*
|
|
|
|
* @see template_preprocess_media()
|
|
|
|
*
|
|
|
|
* @ingroup themeable
|
|
|
|
*/
|
|
|
|
#}
|
2017-07-20 14:13:50 +00:00
|
|
|
<div{{ attributes }}>
|
Issue #2775131 by chr.fritsch, marcoscano, katzilla, seanB, xjm, gippy, phenaproxima, alexpott, Berdir, lauriii, webflo, dawehner: Media entities should support contextual links
2018-01-08 15:17:15 +00:00
|
|
|
{{ title_suffix.contextual_links }}
|
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
|
|
|
{{ content }}
|
2017-07-20 14:13:50 +00:00
|
|
|
</div>
|