You are here

function video_preset_get_default_presets in Video 7

Same name and namespace in other branches
  1. 7.2 modules/video_ui/video.preset.inc \video_preset_get_default_presets()

Returns the default presets.

Return value

<type>

4 calls to video_preset_get_default_presets()
video_get_preset in modules/video_ui/video.preset.inc
Get's the preset.
video_is_default_preset in modules/video_ui/video.preset.inc
Check for default preset
video_preset_get_presets in modules/video_ui/video.preset.inc
Gets a list of all presets.
video_preset_name_exists in modules/video_ui/video.preset.inc
Checks to see if another preset is already taken.

File

modules/video_ui/video.preset.inc, line 651

Code

function video_preset_get_default_presets() {
  $default_presets = module_invoke_all('video_default_presets');
  drupal_alter('video_default_presets', $default_presets);
  return $default_presets;
}