You are here

function lingotek_get_global_profile in Lingotek Translation 7.7

Same name and namespace in other branches
  1. 7.4 lingotek.module \lingotek_get_global_profile()
  2. 7.5 lingotek.module \lingotek_get_global_profile()
  3. 7.6 lingotek.module \lingotek_get_global_profile()
6 calls to lingotek_get_global_profile()
LingotekProfile::__construct in lib/Drupal/lingotek/LingotekProfile.php
Constructor.
lingotek_admin_profile_manage in ./lingotek.admin.inc
lingotek_bulk_grid_parse_config_data in ./lingotek.config.inc
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 1292

Code

function lingotek_get_global_profile() {
  return array(
    'name' => '',
    'lingotek_nodes_translation_method' => variable_get('lingotek_nodes_translation_method'),
    'auto_upload' => 0,
    'auto_download' => 0,
    'allow_target_localization' => 0,
    'allow_source_overwriting' => 0,
    'allow_community_translation' => 0,
    'url_alias_translation' => 0,
    'project_id' => variable_get('lingotek_project'),
    'workflow_id' => variable_get('lingotek_workflow'),
    'vault_id' => variable_get('lingotek_vault'),
  );
}