You are here

function video_is_default_preset in Video 7

Check for default preset

Parameters

<type> $preset_name:

Return value

<type>

1 call to video_is_default_preset()
video_preset_form in modules/video_ui/video.preset.inc
Preset form

File

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

Code

function video_is_default_preset($preset_name) {

  // Get the default presets.
  $default_presets = video_preset_get_default_presets();

  // See if there is a default preset name.
  if ($default_presets && isset($default_presets[$preset_name])) {
    return TRUE;
  }
  else {
    return FALSE;
  }
}