function mediafront_preset_theme in MediaFront 6.2
Same name and namespace in other branches
- 6 includes/mediafront.preset.inc \mediafront_preset_theme()
Implementation of hook_theme
1 call to mediafront_preset_theme()
- mediafront_theme in ./
mediafront.module - Implementation of hook_theme().
File
- includes/
mediafront.preset.inc, line 97
Code
function mediafront_preset_theme() {
$theme = array();
// Iterate through all of our presets, and create a formatter for each one.
foreach (mediafront_preset_get_presets() as $preset) {
$theme['mediafront_formatter_' . $preset['name'] . '_player'] = array(
'arguments' => array(
'element' => NULL,
),
'function' => 'theme_mediafront_formatter_player',
);
}
return $theme;
}