function node_type_page_title
7.x node.module | node_type_page_title($type) |
Title callback: Returns the unsanitized title of the 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
1 string reference to 'node_type_page_title'
- node_menu in drupal-7.x/
modules/ node/ node.module - Implements hook_menu().
File
- drupal-7.x/
modules/ node/ node.module, line 2190 - 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_type_page_title($type) {
return $type->name;
}