You are here

function node_page_title in Drupal 7

Same name and namespace in other branches
  1. 6 modules/node/node.module \node_page_title()

Title callback: Returns the title of the node.

Parameters

$node: The node object.

Return value

An unsanitized string that is the title of the node.

See also

node_menu()

1 string reference to 'node_page_title'
node_menu in modules/node/node.module
Implements hook_menu().

File

modules/node/node.module, line 2199
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_title($node) {
  return $node->title;
}