You are here

function lingotek_variable_get in Lingotek Translation 7.5

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

File

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

Code

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