function video_preset_overridden_load in Video 7.2
Implementing the special "auto-loader" for menu %video_preset.
Limits the returned presets to overridden module-provided presets.
File
- modules/
video_ui/ video_ui.module, line 190 - Administrative interface to the Video module. @author : Heshan (heshan@heidisoft.com)
Code
function video_preset_overridden_load($preset_name) {
$preset = video_preset_load($preset_name);
if (!$preset || $preset['module'] == NULL || !$preset['overridden']) {
return FALSE;
}
return $preset;
}