07-26-2023, 11:28 PM
Given a `$node`, I'm trying to decide between the following two ways of outputting that $node.
**either**
$output = theme('node', $node);
**or**
node_build_content($node);
$output = drupal_render($node->content);
They both seem to give similar results, but is there something I should consider before I choose one way over the other?
**either**
$output = theme('node', $node);
**or**
node_build_content($node);
$output = drupal_render($node->content);
They both seem to give similar results, but is there something I should consider before I choose one way over the other?