You are here

function lingotek_get_source_language in Lingotek Translation 7.6

Same name and namespace in other branches
  1. 7.7 lingotek.util.inc \lingotek_get_source_language()
  2. 7.2 lingotek.util.inc \lingotek_get_source_language()
  3. 7.3 lingotek.util.inc \lingotek_get_source_language()
  4. 7.4 lingotek.util.inc \lingotek_get_source_language()
  5. 7.5 lingotek.util.inc \lingotek_get_source_language()

Return the Drupal default language (ie: en / es / de)

4 calls to lingotek_get_source_language()
lingotek_cleanup_message_types in ./lingotek.util.inc
Set all message types with empty or undefined languages to be the site's default language
lingotek_field_language_data_cleanup_batch_create in ./lingotek.batch.inc
Field Language Data Cleanup Utility
lingotek_form_node_form_alter in ./lingotek.module
Implements hook_form_BASE_FORM_ID_alter().
lingotek_setup_node_updates_form in ./lingotek.setup.inc
Future Page - Form Layout

File

./lingotek.util.inc, line 634
Utility functions.

Code

function lingotek_get_source_language() {
  return language_default('language');
}