function imageapi_optimize_pipeline_form_add_validate in Image Optimize (or ImageAPI Optimize) 7.2
Validate handler for adding a new image effect to an image pipeline.
1 string reference to 'imageapi_optimize_pipeline_form_add_validate'
- 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 182
Code
function imageapi_optimize_pipeline_form_add_validate($form, &$form_state) {
if (!$form_state['values']['new']) {
form_error($form['processors']['new']['new'], t('Select a processor to add.'));
}
}