node_page_view

function node_page_view

node_page_view($node)

Menu callback: Displays a single node.

Parameters

$node: The node object.

Return value

A page array suitable for use by drupal_render().

See also

node_menu()

File

modules/node/node.module, line 2751
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) {
  //