1 image.admin.inc image_style_revert_form($form, &$form_state, $style)

Confirmation form to revert a database style to its default.


core/modules/image/image.admin.inc, line 308
Admin page callbacks for the Image module.


function image_style_revert_form($form, &$form_state, $style) {
  $form_state['image_style'] = $style;

  return confirm_form(
  t('Revert the %style style?', array('%style' => $style['label'])), 
  t('Reverting this style will delete the customized settings and restore the defaults provided by the @module module.', array('@module' => $style['module'])), 
  t('Revert'), t('Cancel')