function theme_brightcove_field_formatter_metadata in Brightcove Video Connect 7.2
1 string reference to 'theme_brightcove_field_formatter_metadata'
- brightcove_field_theme in brightcove_field/
brightcove_field.module - Implementation of hook_theme().
File
- brightcove_field/
brightcove_field.formatters.inc, line 336 - Formatters for video field.
Code
function theme_brightcove_field_formatter_metadata($variables) {
if ($variables['video']) {
$text = check_plain($variables['video']->{$variables['key']});
return "<span><strong>{$variables['label']}:</strong> {$text}</span>";
}
return '';
}