You are here

function nd_node_view in Node displays 7

Implements hook_node_view().

File

./nd.module, line 86
Node displays.

Code

function nd_node_view($node, $view_mode) {

  // Recheck this later with views, adding the build
  // mode probably isn't necessary at all.
  if (!isset($node->build_mode)) {
    $node->build_mode = $view_mode;
  }
  _nd_nodeapi($node);
}