You are here

function stylizer_ui::edit_wizard_finish in Chaos Tool Suite (ctools) 6

Same name and namespace in other branches
  1. 7 stylizer/plugins/export_ui/stylizer_ui.class.php \stylizer_ui::edit_wizard_finish()

Wizard 'cancel' callback when using a wizard to edit an item.

The wizard callback delegates this back to the object.

Overrides ctools_export_ui::edit_wizard_finish

File

stylizer/plugins/export_ui/stylizer_ui.class.php, line 241

Class

stylizer_ui
UI class for Stylizer.

Code

function edit_wizard_finish(&$form_state) {

  // These might be stored by the stylizer wizard, so we should clear them.
  if (isset($form_state['settings']['old_settings'])) {
    unset($form_state['settings']['old_settings']);
  }
  $this
    ->store_stylizer_info($form_state);
  parent::edit_wizard_finish($form_state);
}