function dargs in Devel 7
Same name and namespace in other branches
- 8.3 devel.module \dargs()
- 8 devel.module \dargs()
- 8.2 devel.module \dargs()
- 5 devel.module \dargs()
- 6 devel.module \dargs()
- 4.x devel.module \dargs()
Prints the arguments passed into the current function.
File
- ./
devel.module, line 1891 - This module holds functions useful for Drupal development.
Code
function dargs($always = TRUE) {
static $printed;
if ($always || !$printed) {
$bt = debug_backtrace();
print kdevel_print_object($bt[1]['args']);
$printed = TRUE;
}
}