You are here

function configuration_ui_stop_tracking_single_confirm_submit in Configuration Management 7.2

Submit handler for stop tracking a single config.

File

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

Code

function configuration_ui_stop_tracking_single_confirm_submit($form, &$form_state) {
  if ($form_state['values']['confirm']) {
    $args = array(
      $form_state['values']['component_id'],
    );
    $stop_tracking_dependencies = FALSE;
    $stop_tracking_optionals = FALSE;
    $result = ConfigurationManagement::stopTracking($args, $stop_tracking_dependencies, $stop_tracking_optionals);
  }
  $form_state['redirect'] = 'admin/config/system/configuration';
}