You are here

function node_expire_debug in Node expire 7

Same name and namespace in other branches
  1. 8 node_expire.module \node_expire_debug()

Utility to display debug info.

Display debug info and write it into log.

Parameters

object $data: Data to display.

File

./node_expire.module, line 328
Set a timer into your content, allowing you to perform customized actions.

Code

function node_expire_debug($data = array()) {
  drupal_set_message(filter_xss_admin('<pre>' . print_r($data, TRUE) . '</pre>'));
  watchdog('node_expire', '<pre>' . print_r($data, TRUE) . '</pre>');
}