function mediafront_preset_get_default_presets in MediaFront 7.2
Same name and namespace in other branches
- 6.2 includes/mediafront.preset.inc \mediafront_preset_get_default_presets()
- 6 includes/mediafront.preset.inc \mediafront_preset_get_default_presets()
- 7 includes/mediafront.preset.inc \mediafront_preset_get_default_presets()
Returns the default presets.
Return value
<type>
3 calls to mediafront_preset_get_default_presets()
- mediafront_get_preset in includes/
mediafront.preset.inc - Get's the preset.
- mediafront_preset_get_presets in includes/
mediafront.preset.inc - Gets a list of all presets.
- mediafront_preset_name_exists in includes/
mediafront.preset.inc - Checks to see if another preset is already taken.
File
- includes/
mediafront.preset.inc, line 567
Code
function mediafront_preset_get_default_presets() {
$default_presets =& drupal_static(__FUNCTION__);
if ($default_presets) {
return $default_presets;
}
else {
$default_presets = module_invoke_all('mediafront_default_presets');
drupal_alter('mediafront_default_presets', $default_presets);
return $default_presets;
}
}