You are here

function lingotek_get_global_profile in Lingotek Translation 7.4

Same name and namespace in other branches
  1. 7.7 lingotek.module \lingotek_get_global_profile()
  2. 7.5 lingotek.module \lingotek_get_global_profile()
  3. 7.6 lingotek.module \lingotek_get_global_profile()
5 calls to lingotek_get_global_profile()
lingotek_admin_profile_manage in ./lingotek.admin.inc
lingotek_get_change_workflow_form in ./lingotek.module
lingotek_get_node_settings_form in ./lingotek.module
lingotek_node_load in ./lingotek.module
Implements hook_node_load().
lingotek_setup_node_translation_settings_form in ./lingotek.setup.inc
Entity Translation Settings - Form Layout Select the Content Types and Fields to be Translated.

File

./lingotek.module, line 1082

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_community_translation' => 0,
    'url_alias_translation' => 0,
    'node_sync_status' => LingotekSync::STATUS_EDITED,
    'sync_method_workbench_moderation' => 'no_moderation',
    'create_lingotek_document_workbench_moderation' => 'published',
    'project_id' => variable_get('lingotek_project'),
    'workflow_id' => variable_get('lingotek_workflow'),
    'vault_id' => variable_get('lingotek_vault'),
  );
}