function node_page_title

Title callback: Displays the node's title.

Parameters

Drupal\node\Node $node: The node entity.

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 drupal/core/modules/node/node.module
Implements hook_menu().

File

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

Code

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