function mediafront_template_preprocess in MediaFront 6
Same name and namespace in other branches
- 6.2 mediafront.module \mediafront_template_preprocess()
- 7 mediafront.module \mediafront_template_preprocess()
The template preprocess function that should be used for all media players.
Parameters
$variables - The:
Return value
unknown_type
1 call to mediafront_template_preprocess()
- template_preprocess_osmplayer in players/
osmplayer/ osmplayer.module - The template preprocess function for the osm media player.
File
- ./
mediafront.module, line 212
Code
function mediafront_template_preprocess(&$variables) {
// Get only the necessary settings for this player that are different than the defaults.
$variables['player_params'] = $variables['params'];
$variables['params'] = mediafront_get_settings($variables['params']['player'], $variables['params']);
}