function theme_emthumb_imagecache_formatter_provider_link in Embedded Media Field 6
Same name and namespace in other branches
- 6.3 contrib/emthumb/emthumb.theme.inc \theme_emthumb_imagecache_formatter_provider_link()
- 6.2 contrib/emthumb/emthumb.theme.inc \theme_emthumb_imagecache_formatter_provider_link()
Returns the imagecache image linked to the original provider file.
1 string reference to 'theme_emthumb_imagecache_formatter_provider_link'
- emthumb_theme in contrib/
emthumb/ emthumb.module - Implementation of hook_theme().
File
- contrib/
emthumb/ emthumb.theme.inc, line 73 - Theme functions for the Embedded Media Thumbnail module.
Code
function theme_emthumb_imagecache_formatter_provider_link($element) {
$options = _emthumb_formatter_theme_helper($element);
$thumbnail = _emthumb_imagecache_formatter_default($element);
$provider_link = emfield_include_invoke('emvideo', $options['item']['provider'], 'embedded_link', $options['item']['value'], $options['item']['data']);
return l($thumbnail, $provider_link, array(
'html' => TRUE,
));
}