You are here

function video_preset_database_load in Video 7.2

Implementing the special "auto-loader" for menu %video_preset.

Limits the returned presets to database presets.

File

modules/video_ui/video_ui.module, line 176
Administrative interface to the Video module. @author : Heshan (heshan@heidisoft.com)

Code

function video_preset_database_load($preset_name) {
  $preset = video_preset_load($preset_name);
  if (!$preset || $preset['module'] != NULL) {
    return FALSE;
  }
  return $preset;
}