6

When viewing a Node in the Devel tab, what are these different objects Load and Render? How and where would I have access to them in the theme layer?

7

The "Load" tab shows the output of node_load(), while the "Render" tab shows the output of node_view(). In the first case, the output is a node object; in the second case, the output is an array as accepted by drupal_render().

  • 1
    Note that in the render tab you have a row "#node" and if you try to open it you get a "(Recursion)". The load tab has the content of that node object. – wranvaud Apr 5 '15 at 0:24

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.