function imageapi_optimize_processor_form_submit in Image Optimize (or ImageAPI Optimize) 7.2
Submit handler for updating an image effect.
File
- ./
imageapi_optimize.admin.inc, line 447
Code
function imageapi_optimize_processor_form_submit($form, &$form_state) {
$pipeline = $form_state['pipeline'];
$processor = array_merge($form_state['processor'], $form_state['values']);
$processor['isid'] = $pipeline['isid'];
imageapi_optimize_processor_save($processor);
drupal_set_message(t('The image processor was successfully applied.'));
$form_state['redirect'] = 'admin/config/media/imageapi-optimize/edit/' . $pipeline['name'];
}