function dpm

cis7 devel.module dpm($input, $name = NULL, $type = 'status')
cle7 devel.module dpm($input, $name = NULL, $type = 'status')
elmsmedia7 devel.module dpm($input, $name = NULL, $type = 'status')
icor7 devel.module dpm($input, $name = NULL, $type = 'status')
meedjum_blog7 devel.module dpm($input, $name = NULL, $type = 'status')
mooc7 devel.module dpm($input, $name = NULL, $type = 'status')

Print a variable to the 'message' area of the page.

Uses drupal_set_message().


$input: An arbitrary value to output.

$name: Optional name for identifying the output.

$type: Optional message type for drupal_set_message(), defaults to 'status'.

Return value

The unaltered input value.

8 calls to dpm()
backtrace_error_handler in sites/all/modules/ulmus/devel/devel.module
Displays backtrace showing the route of calls to the current error.
devel_page_alter in sites/all/modules/ulmus/devel/devel.module
devel_rules_debug_action in sites/all/modules/ulmus/devel/
Rules action for debugging values.
dpq in sites/all/modules/ulmus/devel/devel.module
Prints a SQL string from a DBTNG SelectQuery object.
dsm in sites/all/modules/ulmus/devel/devel.module

... See full list


sites/all/modules/ulmus/devel/devel.module, line 1689


function dpm($input, $name = NULL, $type = 'status') {
  if (user_access('access devel information')) {
    $export = kprint_r($input, TRUE, $name);
    drupal_set_message($export, $type);
  return $input;