function mediafront_get_settings in MediaFront 7.2
Same name and namespace in other branches
- 6.2 mediafront.module \mediafront_get_settings()
- 6 mediafront.module \mediafront_get_settings()
- 7 mediafront.module \mediafront_get_settings()
Returns ALL the player settings for the given player provided settings to override.
6 calls to mediafront_get_settings()
- mediafront_get_player in ./
mediafront.module - Returns a media player.
- mediafront_preset_form in includes/
mediafront.preset.inc - mediafront_preset_save in includes/
mediafront.preset.inc - Saves a new preset.
- mediafront_preset_submit in includes/
mediafront.preset.inc - Submit handler for the preset form.
- mediafront_user_settings in modules/
mediafront_user/ mediafront_user.module
File
- ./
mediafront.module, line 251
Code
function mediafront_get_settings($player, $overrides = array()) {
$settings = array_merge(mediafront_get_player_params($player), mediafront_get_player_settings($player));
return $overrides ? array_merge($settings, $overrides) : $settings;
}