You are here

function node_page_view in Drupal 6

Same name and namespace in other branches
  1. 5 modules/node/node.module \node_page_view()
  2. 7 modules/node/node.module \node_page_view()

Menu callback; view a single node.

1 string reference to 'node_page_view'
node_menu in modules/node/node.module
Implementation of hook_menu().

File

modules/node/node.module, line 1808
The core that allows content to be submitted to the site. Modules and scripts may programmatically submit nodes using the usual form API pattern.

Code

function node_page_view($node, $cid = NULL) {
  drupal_set_title(check_plain($node->title));
  return node_show($node, $cid);
}