function mediafront_theme in MediaFront 6.2
Same name and namespace in other branches
- 6 mediafront.module \mediafront_theme()
- 7.2 mediafront.module \mediafront_theme()
- 7 mediafront.module \mediafront_theme()
Implementation of hook_theme().
File
- ./
mediafront.module, line 42
Code
function mediafront_theme() {
$theme = array();
// Create a basic theme function for showing the media player.
$theme['mediafront_player_view'] = array(
'arguments' => array(
'view' => NULL,
'preset' => NULL,
),
);
$theme['mediafront_player'] = array(
'arguments' => array(
'node' => NULL,
'preset' => NULL,
),
);
$theme['mediafront_field'] = array(
'arguments' => array(
'node' => NULL,
'preset' => NULL,
),
);
$theme = array_merge($theme, mediafront_preset_theme());
return $theme;
}