function image_style_form_override_submit

7.x image.admin.inc image_style_form_override_submit($form, &$form_state)

Submit handler for overriding a module-defined style.

1 string reference to 'image_style_form_override_submit'
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 204
Administration pages for image settings.

Code

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