You are here

function nd_node_load in Node displays 7

Implements hook_node_load().

File

./nd.module, line 76
Node displays.

Code

function nd_node_load($nodes, $types) {
  $node_types = node_type_get_types();
  foreach ($nodes as $nid => $node) {
    $node->has_body = $node_types[$node->type]->has_body;
  }
}