function oembed_preset_ui::edit_form_submit in oEmbed 6.0
Handle the submission of the edit form.
Overrides ctools_export_ui::edit_form_submit
File
- plugins/
export_ui/ oembed_preset_ui.class.php, line 36
Class
Code
function edit_form_submit(&$form, &$form_state) {
parent::edit_form_submit($form, $form_state);
// Since items in our settings are not in the schema, we have to do these
// manually:
$form_state['item']->conf['disable_title'] = $form_state['values']['disable_title'];
}