function node_type_load

cis7 node.module node_type_load($name)
cle7 node.module node_type_load($name)
elmsmedia7 node.module node_type_load($name)
icor7 node.module node_type_load($name)
meedjum_blog7 node.module node_type_load($name)
mooc7 node.module node_type_load($name)

Menu argument loader: loads a node type by string.


$name: The machine-readable name of a node type to load, where '_' is replaced with '-'.

Return value

A node type object or FALSE if $name does not exist.

3 calls to node_type_load()
node_features_disable in sites/all/modules/ulmus/features/includes/
Implements hook_features_disable().
node_features_enable in sites/all/modules/ulmus/features/includes/
Implements hook_features_enable().
token_tokens in sites/all/modules/ulmus/token/
Implements hook_tokens().
1 string reference to 'node_type_load'
node_type_form in modules/node/
Form constructor for the node type editing form.


modules/node/node.module, line 489
The core that allows content to be submitted to the site. Modules and scripts may programmatically submit nodes using the usual form API pattern.


function node_type_load($name) {
  return node_type_get_type(strtr($name, array('-' => '_')));