node_get_name

Definition

node_get_name($node)
modules/node.module, line 268

Description

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.

Code

<?php
function node_get_name($node) {
  return _node_names('name', $node);
}
?>
 
 

Drupal is a registered trademark of Dries Buytaert.