function configuration_form_image_style_revert_form_alter in Configuration Management 7
Implements hook_form_FORM_ID_alter().
File
- observers/
observer.image.inc, line 35 - I'll probably end up putting this code in configuration.image.inc. Just want to keep it separate for now, while I get this working.
Code
function configuration_form_image_style_revert_form_alter(&$form, $form_state) {
$form['#submit'][] = 'configuration_revert_image_style';
}