1 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
File
- core/
modules/ node/ node.module, line 2033 - The core module that allows content to be submitted to the site.
Code
function node_page_title(Node $node) {
return $node->title;
}