function lingotek_variable_get in Lingotek Translation 7.4
Same name and namespace in other branches
- 7.7 lingotek.util.inc \lingotek_variable_get()
- 7.2 lingotek.util.inc \lingotek_variable_get()
- 7.3 lingotek.util.inc \lingotek_variable_get()
- 7.5 lingotek.util.inc \lingotek_variable_get()
- 7.6 lingotek.util.inc \lingotek_variable_get()
File
- ./
lingotek.util.inc, line 193 - Utility functions.
Code
function lingotek_variable_get($var, $drupal, $default) {
if ($var === FALSE) {
return variable_get($drupal, $default);
}
else {
return $var;
}
}