Chris@0: {# Chris@0: /** Chris@0: * @file Chris@0: * Default theme implementation to present a media item. Chris@0: * Chris@0: * Available variables: Chris@0: * - media: The media item, with limited access to object properties and Chris@0: * methods. Only method names starting with "get", "has", or "is" and Chris@0: * a few common methods such as "id", "label", and "bundle" are available. Chris@0: * For example: Chris@0: * - entity.getEntityTypeId() will return the entity type ID. Chris@0: * - entity.hasField('field_example') returns TRUE if the entity includes Chris@0: * field_example. (This does not indicate the presence of a value in this Chris@0: * field.) Chris@0: * Calling other methods, such as entity.delete(), will result in Chris@0: * an exception. Chris@0: * See \Drupal\Core\Entity\EntityInterface for a full list of methods. Chris@0: * - name: Name of the media item. Chris@0: * - content: Media content. Chris@0: * - title_prefix: Additional output populated by modules, intended to be Chris@0: * displayed in front of the main title tag that appears in the template. Chris@0: * - title_suffix: Additional output populated by modules, intended to be Chris@0: * displayed after the main title tag that appears in the template. Chris@0: * - view_mode: View mode; for example, "teaser" or "full". Chris@0: * - attributes: HTML attributes for the containing element. Chris@0: * - title_attributes: Same as attributes, except applied to the main title Chris@0: * tag that appears in the template. Chris@0: * Chris@0: * @see template_preprocess_media() Chris@0: * Chris@0: * @ingroup themeable Chris@0: */ Chris@0: #} Chris@0: Chris@14: {{ title_suffix.contextual_links }} Chris@0: {{ content }} Chris@0: