1 node.module | node_type_page_title($type) |
Title callback: Provides the title for a node type edit form.
Parameters
$type: The node type object.
Return value
string: An unsanitized string that is the title of the node type edit form.
See also
File
- core/
modules/ node/ node.module, line 2024 - The core module that allows content to be submitted to the site.
Code
function node_type_page_title($type) {
return $type->name;
}