You are here

function lingotek_config_define_columns in Lingotek Translation 7.6

Same name and namespace in other branches
  1. 7.7 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 983

Code

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