function _emaillog_get_debug_info_callbacks in Logging and alerts 8
Same name and namespace in other branches
- 6.2 emaillog/emaillog.module \_emaillog_get_debug_info_callbacks()
- 7.2 emaillog/emaillog.module \_emaillog_get_debug_info_callbacks()
- 2.0.x emaillog/emaillog.module \_emaillog_get_debug_info_callbacks()
Returns array of available additional debug information for email alerts.
3 calls to _emaillog_get_debug_info_callbacks()
- EmaillogConfigForm::buildForm in emaillog/
src/ Form/ EmaillogConfigForm.php - Form constructor.
- EmaillogConfigForm::submitForm in emaillog/
src/ Form/ EmaillogConfigForm.php - Form submission handler.
- EmailLogger::log in emaillog/
src/ Logger/ EmailLogger.php - Logs with an arbitrary level.
File
- emaillog/
emaillog.module, line 161 - Drupal Module: Email Logging and Alerts.
Code
function _emaillog_get_debug_info_callbacks() {
return [
'server' => '$_SERVER',
'env' => '$_ENV',
'request' => '$_REQUEST',
'cookie' => '$_COOKIE',
'get' => '$_GET',
'post' => '$_POST',
'session' => '$_SESSION',
'backtrace' => 'debug_backtrace()',
];
}