You are here

function lingotek_config_unmark_items in Lingotek Translation 7.7

1 call to lingotek_config_unmark_items()
lingotek_config_action_submit in ./lingotek.config.inc
Submit function for The Grid's actions The action corresponds to the key of the option selected Often redirects to batch operations or to other pages entirely

File

./lingotek.config.inc, line 505
Config grid form elements

Code

function lingotek_config_unmark_items($lids) {
  $batch = array(
    'title' => t('Updating Unmarked Config Items'),
    'finished' => 'lingotek_update_unmarked_items_finished',
  );
  $operations = lingotek_get_unmarked_batch_elements('config', $lids);
  $batch['operations'] = $operations;
  $redirect = current_path();
  batch_set($batch);
  batch_process($redirect);
}