1.20.x node.module node_page_title(Node $node)

Title callback: Displays the node's title.

Parameters

Node $node: The node entity.

Return value

An unsanitized string that is the title of the node.:

See also

node_menu()

File

modules/node/node.module, line 2051
The core module that allows content to be submitted to the site.

Code

function node_page_title(Node $node) {
  return $node->title;
}