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