function email_verify_process_debug_information in Email Verify 7.2
Displays and/or records the collected debugging information.
Parameters
array $debug_information: An array of text strings reported during the debugging process.
3 calls to email_verify_process_debug_information()
- email_verify_admin_settings_submit in ./
email_verify.admin.inc - Form submit function.
- email_verify_verify_address in ./
email_verify.module - Additional validation for the form to verify the email address.
- _email_verify_batch_display_process_batch in ./
email_verify.check.inc - The batch process for checking the users.
File
- ./
email_verify.module, line 210 - Verifies thoroughly that email addresses are correctly entered.
Code
function email_verify_process_debug_information(array $debug_information) {
if (!empty($debug_information)) {
// Log and/or display the debugging information.
$message = implode('<br />', $debug_information);
if (variable_get('email_verify_debug_mode_record_log', FALSE)) {
watchdog('email_verify debug', $message, array(), WATCHDOG_DEBUG);
}
if (variable_get('email_verify_debug_mode_display_page', FALSE)) {
drupal_set_message($message);
}
}
}