You are here

function lingotek_variable_get in Lingotek Translation 7.2

Same name and namespace in other branches
  1. 7.7 lingotek.util.inc \lingotek_variable_get()
  2. 7.3 lingotek.util.inc \lingotek_variable_get()
  3. 7.4 lingotek.util.inc \lingotek_variable_get()
  4. 7.5 lingotek.util.inc \lingotek_variable_get()
  5. 7.6 lingotek.util.inc \lingotek_variable_get()
4 calls to lingotek_variable_get()
lingotek_download_document in ./lingotek.api.inc
lingotek_form_node_form_alter in ./lingotek.module
Implements hook_form_BASE_FORM_ID_alter().
lingotek_node_sync in ./lingotek.util.inc
Synchronize the node's content with current translations as stored on the Lingotek platform.
lingotek_xml_node_body in ./lingotek.util.inc
Return the xml representation of the source content for a node.

File

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

Code

function lingotek_variable_get($var, $drupal, $default) {
  if ($var === FALSE) {
    return variable_get($drupal, $default);
  }
  else {
    return $var;
  }
}