You are here

function ForumAccessBaseTestCase::wpm in Forum Access 7

Writes a krumo entry into the watchdog log, if Devel is installed.

File

tests/forum_access_test_base.php, line 692
Base class with auxiliary functions for forum access module tests.

Class

ForumAccessBaseTestCase
Base test class for the Forum Access module.

Code

function wpm($input, $name = NULL) {
  if (module_exists('devel') && user_access('access devel information')) {
    $export = kprint_r($input, TRUE, $name);
    watchdog('debug', $export);
  }
}