function dvm
Same name in other branches
- 7.x-1.x devel.module \dvm()
- 8.x-1.x devel.module \dvm()
- 4.x devel.module \dvm()
- 5.x devel.module \dvm()
Var_dump() a variable to the 'message' area of the page. Uses drupal_set_message()
File
-
./
devel.module, line 1863
Code
function dvm($input, $name = NULL) {
if (user_access('access devel information')) {
$export = dprint_r($input, TRUE, $name, 'var_dump', FALSE);
drupal_set_message($export);
}
}