You are here

function dpm in Devel 5

Same name and namespace in other branches
  1. 8.3 devel.module \dpm()
  2. 8 devel.module \dpm()
  3. 8.2 devel.module \dpm()
  4. 6 devel.module \dpm()
  5. 7 devel.module \dpm()
  6. 4.x devel.module \dpm()

Print a variable to the 'message' area of the page. Uses drupal_set_message()

1 call to dpm()
dsm in ./devel.module

File

./devel.module, line 1274

Code

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