function 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

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