node_type_get_types

Versions
7
node_type_get_types()

Returns a list of all the available node types.

see node_type_get_type()

Return value

An array of node types, keyed by the type.

▾ 17 functions call node_type_get_types()

block_block_info_alter in modules/block/block.module
Implement hook_block_info_alter().
comment_uninstall in modules/comment/comment.install
Implement hook_uninstall().
comment_update_7000 in modules/comment/comment.install
Remove comment settings for page ordering.
comment_update_7004 in modules/comment/comment.install
Rename comment display setting variables.
comment_update_7005 in modules/comment/comment.install
Create comment Field API bundles.
comment_update_7009 in modules/comment/comment.install
Update preview setting variable to use new constants
locale_uninstall in modules/locale/locale.install
Implement hook_uninstall().
node_add in modules/node/node.pages.inc
Present a node submission form or a set of links to such forms.
node_forms in modules/node/node.module
Implement hook_forms(). All node forms share the same form handler.
node_menu in modules/node/node.module
Implement hook_menu().
node_overview_types in modules/node/content_types.inc
Displays the content type admin overview page.
node_permissions_get_configured_types in modules/node/node.module
Returns an array of node types that should be managed by permissions.
node_types_rebuild in modules/node/node.module
Resets the database cache of node types.
node_update_7004 in modules/node/node.install
Extend the existing default preview and teaser settings to all node types.
node_update_7006 in modules/node/node.install
Convert body and teaser from node properties to fields, and migrate status/comment/promote and sticky columns to the {node_revision} table.
system_update_7017 in modules/system/system.install
Change the theme setting 'toggle_node_info' into a per content type variable.
_node_add_access in modules/node/node.module

Code

modules/node/node.module, line 364

<?php
function node_type_get_types() {
  return _node_types_build()->types;
}
?>
Login or register to post comments
 
 

All source code and documentation on this site is released under the terms of the GNU General Public License, version 2 and later. Drupal is a registered trademark of Dries Buytaert.