function mediafront_get_player_settings in MediaFront 7.2
Same name and namespace in other branches
- 6.2 mediafront.module \mediafront_get_player_settings()
- 6 mediafront.module \mediafront_get_player_settings()
- 7 mediafront.module \mediafront_get_player_settings()
Returns the player's default settings.
Parameters
$player:
1 call to mediafront_get_player_settings()
- mediafront_get_settings in ./
mediafront.module - Returns ALL the player settings for the given player provided settings to override.
File
- ./
mediafront.module, line 238
Code
function mediafront_get_player_settings($player) {
$settings = array();
$get_settings = $player . '_get_player_settings';
if (function_exists($get_settings)) {
$settings = $get_settings();
}
drupal_alter('mediafront_player_settings', $settings);
return $settings;
}