function _eminline_url_settings_form_submit in Embedded Media Field 6.3
Same name and namespace in other branches
- 5 contrib/eminline/eminline.module \_eminline_url_settings_form_submit()
- 6 contrib/eminline/eminline.module \_eminline_url_settings_form_submit()
- 6.2 contrib/eminline/eminline.module \_eminline_url_settings_form_submit()
1 string reference to '_eminline_url_settings_form_submit'
- eminline_form_filter_admin_configure_alter in contrib/
eminline/ eminline.module - Implementation of hook_form_FORM_ID_alter().
File
- contrib/
eminline/ eminline.module, line 258
Code
function _eminline_url_settings_form_submit($form, &$form_state) {
$format = $form_state['values']['format'];
variable_set('eminline_providers_' . $format, $form_state['values']['eminline_' . $format]['provider_list']['providers']);
variable_set('eminline_video_' . $format, $form_state['values']['eminline_' . $format]['video']);
variable_set('eminline_preview_' . $format, $form_state['values']['eminline_' . $format]['preview']);
variable_set('eminline_tn_' . $format, $form_state['values']['eminline_' . $format]['tn']);
variable_set('eminline_full_node_' . $format, $form_state['values']['eminline_' . $format]['node_display']);
}