You are here

function lingotek_config_define_columns in Lingotek Translation 7.7

Same name and namespace in other branches
  1. 7.6 lingotek.bulk_grid.inc \lingotek_config_define_columns()
2 calls to lingotek_config_define_columns()
lingotek_config_build_column_checkboxes in ./lingotek.bulk_grid.inc
lingotek_grid_reset_columns in ./lingotek.bulk_grid.inc
Cleans up the grid_custom or config_custom session array, restoring the predefined defaults.

File

./lingotek.bulk_grid.inc, line 1498

Code

function lingotek_config_define_columns() {
  $columns = array(
    'columns' => array(
      'marked' => 'marked',
      'lid' => 'lid',
      'config_set_id' => 'config_set_id',
      'set_name' => 'set_name',
      'source' => 'source',
      'source_uploaded' => 'source_uploaded',
      'translations' => 'translations',
      'location' => 'location',
      'context' => 'context',
      'doc_id' => 'doc_id',
      'workflow' => 'workflow',
      'textgroup' => 'textgroup',
    ),
    'defaults' => array(
      'lid' => 'lid',
      'set_name' => 'set_name',
      'source' => 'source',
      'source_uploaded' => 'source_uploaded',
      'translations' => 'translations',
      'textgroup' => 'textgroup',
      'workflow' => 'workflow',
    ),
  );
  return $columns;
}