function node_page_view

You are here

7 node.module node_page_view($node)
5 node.module node_page_view($node, $cid = NULL)
6 node.module node_page_view($node, $cid = NULL)

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);
}