function image_style_form_add_validate
7.x image.admin.inc | image_style_form_add_validate($form, &$form_state) |
Validate handler for adding a new image effect to an image style.
1 string reference to 'image_style_form_add_validate'
- image_style_form in drupal-7.x/
modules/ image/ image.admin.inc - Form builder; Edit an image style name and effects order.
File
- drupal-7.x/
modules/ image/ image.admin.inc, line 173 - Administration pages for image settings.
Code
function image_style_form_add_validate($form, &$form_state) {
if (!$form_state['values']['new']) {
form_error($form['effects']['new']['new'], t('Select an effect to add.'));
}
}