You are here

function imageapi_optimize_pipeline_form_override_submit in Image Optimize (or ImageAPI Optimize) 7.2

Submit handler for overriding a module-defined pipeline.

1 string reference to 'imageapi_optimize_pipeline_form_override_submit'
imageapi_optimize_pipeline_form in ./imageapi_optimize.admin.inc
Form builder; Edit an image pipeline name and effects order.

File

./imageapi_optimize.admin.inc, line 215

Code

function imageapi_optimize_pipeline_form_override_submit($form, &$form_state) {
  drupal_set_message(t('The %pipeline pipeline has been overridden, allowing you to change its settings.', array(
    '%pipeline' => $form_state['pipeline']['label'],
  )));
  imageapi_optimize_default_pipeline_save($form_state['pipeline']);
}