You are here

function devel_load_object in Devel 6

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

Menu callback; prints the loaded structure of the current node/user.

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

File

./devel.module, line 1496

Code

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