brightcove-field-entity-link.tpl.php in Brightcove Video Connect 7.2
Same filename and directory in other branches
brightcove-field-entity-link.tpl.php Image linked to entity theme implementation.
This template is used when viewing a Brightcove video with a thumbnail or videoStill image linking to entity.
Available variables:
- $output: Formatted image with a link to entity, ready for printing.
- $image_field: The name of the image field used from Media API. Can be thumbnailURL or videoStillURL.
- $destination: URL for the Brightcove video player.
- $video_id: Video ID from Media API.
- $field_name: Field name.
- $type_name: Entity type.
- $style: If printed with image style, image style name.
See also
1 theme call to brightcove-field-entity-link.tpl.php
- theme_brightcove_field_entity_link in brightcove_field/
brightcove_field.formatters.inc - Theme callback for Default thumbnail linked to entity formatter.
File
brightcove_field/brightcove-field-entity-link.tpl.phpView source
<?php
/**
* @file brightcove-field-entity-link.tpl.php
* Image linked to entity theme implementation.
*
* This template is used when viewing a Brightcove video with a thumbnail or videoStill image linking to entity.
*
* Available variables:
* - $output: Formatted image with a link to entity, ready for printing.
* - $image_field: The name of the image field used from Media API. Can be thumbnailURL or videoStillURL.
* - $destination: URL for the Brightcove video player.
* - $video_id: Video ID from Media API.
* - $field_name: Field name.
* - $type_name: Entity type.
* - $style: If printed with image style, image style name.
*
* @see theme_brightcove_field_entity_link()
*/
?>
<?php
if ($output) {
echo $output;
}