function image_style_form_override_submit

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

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.