function theme_emvideo_video_link in Embedded Media Field 6.2
Same name and namespace in other branches
- 6.3 contrib/emvideo/emvideo.theme.inc \theme_emvideo_video_link()
- 6 contrib/emvideo/emvideo.theme.inc \theme_emvideo_video_link()
File
- contrib/
emvideo/ emvideo.theme.inc, line 190 - This defines the various theme functions for Embedded Video Field (emvideo).
Code
function theme_emvideo_video_link($field, $item, $formatter, $node, $options = array()) {
$title = isset($options['link_title']) ? $options['link_title'] : (isset($options['title']) ? $options['title'] : (isset($field['widget']['thumbnail_link_title']) ? $field['widget']['thumbnail_link_title'] : variable_get('emvideo_default_thumbnail_link_title', t('See video'))));
$url = emfield_include_invoke('emvideo', $item['provider'], 'embedded_link', $item['value'], $item['data']);
return l($title, $url);
}