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().

Parameters

$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/devel.rules.inc
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

File

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

Code

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;
}
Error | ELMSLN API

Error

×

Error message

  • Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/elmsln_community/api.elmsln.org/includes/common.inc:2791) in drupal_send_headers() (line 1499 of /var/www/html/elmsln_community/api.elmsln.org/includes/bootstrap.inc).
  • Error: Call to undefined function apc_delete() in DrupalAPCCache->clear() (line 289 of /var/www/html/elmsln_community/api.elmsln.org/sites/all/modules/apc/drupal_apc_cache.inc).
The website encountered an unexpected error. Please try again later.