function videoftp_widget_settings_save in Video 6.5
Same name and namespace in other branches
- 6.4 types/videoftp/videoftp_widget.inc \videoftp_widget_settings_save()
Implementation of CCK's hook_widget_settings($op = 'save').
1 call to videoftp_widget_settings_save()
- videoftp_widget_settings in types/
videoftp/ videoftp.module - Implementation of CCK's hook_widget_settings().
File
- types/
videoftp/ videoftp_widget.inc, line 68 - videoftp widget hooks and callbacks.
Code
function videoftp_widget_settings_save($widget) {
$filefield_settings = module_invoke('filefield', 'widget_settings', 'save', $widget);
if ($pos = array_search('progress_indicator', $filefield_settings)) {
unset($filefield_settings[$pos]);
}
return array_merge($filefield_settings, array(
'ftp_path',
'default_video_thumb',
'default_dimensions',
'default_player_dimensions',
'autoconversion',
'autothumbnail',
));
}