node_type_get_names

Versions
7
node_type_get_names()

Returns a list of available node names.

Return value

An array of node type names, keyed by the type.

▾ 9 functions call node_type_get_names()

block_admin_configure in modules/block/block.admin.inc
Menu callback; displays the block configuration form.
book_admin_settings in modules/book/book.admin.inc
Builds and returns the book settings form.
comment_entity_info in modules/comment/comment.module
Implements hook_entity_info().
hook_entity_info in modules/system/system.api.php
Inform the base system and the Field API about one or more entity types.
node_entity_info in modules/node/node.module
Implements hook_entity_info().
node_filters in modules/node/node.admin.inc
List node administration filters that can be applied.
node_form_search_form_alter in modules/node/node.module
Implements hook_form_FORM_ID_alter().
node_overview_types in modules/node/content_types.inc
Displays the content type admin overview page.
node_type_form_validate in modules/node/content_types.inc
Validates the content type submission form generated by node_type_form().

Code

modules/node/node.module, line 432

<?php
function node_type_get_names() {
  return _node_types_build()->names;
}
?>
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.