function node_get_name in Drupal 4
Determine the human readable name for a given type.
Parameters
$node: Either a node object, a node array, or a string containing the node type.
Return value
The human readable name of the node type.
10 calls to node_get_name()
- node_add in modules/
node.module - Present a node submission form or a set of links to such forms.
- node_admin_nodes in modules/
node.module - Menu callback: content administration.
- node_form_submit in modules/
node.module - node_menu in modules/
node.module - Implementation of hook_menu().
- node_preview in modules/
node.module - Generate a node preview.
File
- modules/
node.module, line 268 - The core that allows content to be submitted to the site.
Code
function node_get_name($node) {
return _node_names('name', $node);
}