function lingotek_variable_get in Lingotek Translation 7.3
Same name and namespace in other branches
- 7.7 lingotek.util.inc \lingotek_variable_get()
- 7.2 lingotek.util.inc \lingotek_variable_get()
- 7.4 lingotek.util.inc \lingotek_variable_get()
- 7.5 lingotek.util.inc \lingotek_variable_get()
- 7.6 lingotek.util.inc \lingotek_variable_get()
5 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_notifications in ./
lingotek.sync.inc - Registers the site translation notfication callback.
- lingotek_workbench_moderation_transition in ./
lingotek.module - Implements hook_workbench_moderation_transition()
- lingotek_xml_node_body in ./
lingotek.util.inc - Return the xml representation of the source content for a node.
File
- ./
lingotek.util.inc, line 170 - Utility functions.
Code
function lingotek_variable_get($var, $drupal, $default) {
if ($var === FALSE) {
return variable_get($drupal, $default);
}
else {
return $var;
}
}