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