function theme_mediafront_field in MediaFront 6.2
Same name and namespace in other branches
- 6 mediafront.module \theme_mediafront_field()
- 7 mediafront.module \theme_mediafront_field()
Implement the theme for a view field media player.
1 theme call to theme_mediafront_field()
File
- ./
mediafront.module, line 95
Code
function theme_mediafront_field($node, $preset) {
$params['nodeObj'] = (array) $node;
if (isset($node->nid)) {
$params['node'] = $node->nid;
}
$params['disablePlaylist'] = true;
return mediafront_get_player($preset, $params);
}