function image_style_form_add_validate
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.
Archivo
- drupal-7.x/
modules/ image/ image.admin.inc, line 173 - Administration pages for image settings.
Código
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.'));
}
}