You are here

function image_style_form_override_submit in Drupal 7

Submit handler for overriding a module-defined style.

1 string reference to 'image_style_form_override_submit'
image_style_form in modules/image/image.admin.inc
Form builder; Edit an image style name and effects order.

File

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']);
}