You are here

function configuration_ui_start_tracking_single_confirm_submit in Configuration Management 7.2

Submit handler for start tracking a single config.

File

ui/configuration_ui.admin.inc, line 461
User interface functions for Configuration Management.

Code

function configuration_ui_start_tracking_single_confirm_submit($form, &$form_state) {
  if ($form_state['values']['confirm']) {
    $args = array(
      $form_state['values']['component_id'],
    );
    $start_tracking_dependencies = FALSE;
    $start_tracking_optionals = FALSE;
    $result = ConfigurationManagement::startTracking($args, $start_tracking_dependencies, $start_tracking_optionals);
  }
  $form_state['redirect'] = 'admin/config/system/configuration/notracking';
}