On this page
function image_style_form_override_submit
image_style_form_override_submit($form, &$form_state)
Submit handler for overriding a module-defined style.
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']);
}
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/modules!image!image.admin.inc/function/image_style_form_override_submit/7.x