You are here

public function stylizer_ui::edit_wizard_finish in Chaos Tool Suite (ctools) 7

Same name and namespace in other branches
  1. 6 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 259

Class

stylizer_ui
UI class for Stylizer.

Code

public 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);
}