function picture_admin_settings_submit in Picture 7
Same name and namespace in other branches
- 7.2 picture.admin.inc \picture_admin_settings_submit()
1 string reference to 'picture_admin_settings_submit'
- picture_admin_settings in ./
picture.admin.inc - Picture settings.
File
- ./
picture.admin.inc, line 237 - Picture - map breakpoints and image styles
Code
function picture_admin_settings_submit($form, &$form_state) {
if (isset($form_state['values']['picture_updated_to_file_entity_2']) && $form_state['values']['picture_updated_to_file_entity_2']) {
variable_set('picture_updated_to_file_entity_2', _picture_update_to_file_entity_2());
}
if (isset($form['picture_updated_to_file_entity_2'])) {
form_set_value($form['picture_updated_to_file_entity_2'], variable_get('picture_updated_to_file_entity_2', FALSE), $form_state);
}
}