You are here

function ctools_stylizer_edit_style_finish in Chaos Tool Suite (ctools) 7

Same name and namespace in other branches
  1. 6 includes/stylizer.inc \ctools_stylizer_edit_style_finish()

Callback generated when the add style process is finished.

1 string reference to 'ctools_stylizer_edit_style_finish'
ctools_stylizer_edit_style in includes/stylizer.inc
Add a new style of the specified type.

File

includes/stylizer.inc, line 846
Create customized CSS and images from palettes created by user input.

Code

function ctools_stylizer_edit_style_finish(&$form_state) {
  $form_state['complete'] = TRUE;
  ctools_stylizer_clear_settings_cache($form_state['name']);
  if (isset($form_state['settings']['old_settings'])) {
    unset($form_state['settings']['old_settings']);
  }
}