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.

8 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_preview in modules/node.module
Generate a node preview.
node_types_configure in modules/node.module
Menu callback; presents each node type configuration page.

... See full list

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);
}