You are here

function lingotek_get_global_profile in Lingotek Translation 7.6

Same name and namespace in other branches
  1. 7.7 lingotek.module \lingotek_get_global_profile()
  2. 7.4 lingotek.module \lingotek_get_global_profile()
  3. 7.5 lingotek.module \lingotek_get_global_profile()
8 calls to lingotek_get_global_profile()
lingotek_admin_profile_manage in ./lingotek.admin.inc
lingotek_bulk_grid_parse_config_data in ./lingotek.config.inc
lingotek_entity_load in ./lingotek.module
Implements hook_entity_load().
lingotek_get_change_workflow_form in ./lingotek.module
lingotek_get_node_settings_form in ./lingotek.module
Display the Lingotek node-settings form

... See full list

File

./lingotek.module, line 1209

Code

function lingotek_get_global_profile() {
  return array(
    'name' => '',
    'document_id' => NULL,
    'lingotek_nodes_translation_method' => variable_get('lingotek_nodes_translation_method'),
    'create_lingotek_document' => 0,
    'sync_method' => 0,
    'allow_target_localization' => 0,
    'allow_source_overwriting' => 0,
    'allow_community_translation' => 0,
    'url_alias_translation' => 0,
    'upload_status' => LingotekSync::STATUS_EDITED,
    'project_id' => variable_get('lingotek_project'),
    'workflow_id' => variable_get('lingotek_workflow'),
    'vault_id' => variable_get('lingotek_vault'),
  );
}