You are here

function devel_load_object in Devel 7

Same name and namespace in other branches
  1. 5 devel.module \devel_load_object()
  2. 6 devel.module \devel_load_object()

Page callback: Prints the loaded structure of the current node/user.

1 string reference to 'devel_load_object'
devel_menu in ./devel.module
Implements hook_menu().

File

./devel.pages.inc, line 369
Page callbacks for Devel.

Code

function devel_load_object($type, $object, $name = NULL) {
  $name = isset($name) ? $name : $type;
  return kdevel_print_object($object, '$' . $name . '->');
}