You are here

function _emaillog_getGlobalVar in Logging and alerts 7.2

Callback up return a Global variable based on the name.

1 string reference to '_emaillog_getGlobalVar'
_emaillog_get_debug_info_callbacks in emaillog/emaillog.module
Returns array of available additional debug information for email alerts.

File

emaillog/emaillog.module, line 272
Drupal Module: Email Logging and Alerts

Code

function _emaillog_getGlobalVar($name) {
  if (isset($GLOBALS[$name])) {
    return $GLOBALS[$name];
  }
}