You are here

public function deploy_ui_plan::edit_form_aggregator_submit in Deploy - Content Staging 7.3

Same name and namespace in other branches
  1. 7.2 modules/deploy_ui/plugins/export_ui/deploy_ui_plan.class.php \deploy_ui_plan::edit_form_aggregator_submit()

Submit handler for the aggregator configuration form.

File

modules/deploy_ui/plugins/export_ui/deploy_ui_plan.class.php, line 264
Deploy UI for managing deployment plans.

Class

deploy_ui_plan
CTools Export UI class for deployment plans.

Code

public function edit_form_aggregator_submit(&$form, &$form_state) {
  $item = $form_state['item'];
  if (!empty($form_state['values']['aggregator_config'])) {
    $item->aggregator_config = $form_state['values']['aggregator_config'];
  }
  else {
    $item->aggregator_config = array();
  }
}