function node_type_get_names

cis7 node.module node_type_get_names()
cle7 node.module node_type_get_names()
elmsmedia7 node.module node_type_get_names()
icor7 node.module node_type_get_names()
meedjum_blog7 node.module node_type_get_names()
mooc7 node.module node_type_get_names()

Returns a list of available node type names.

This list can include types that are queued for addition or deletion. See _node_types_build() for details.

Return value

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

37 calls to node_type_get_names()
adaptivetheme_form_search_form_alter in sites/all/themes/ulmus/adaptivetheme/at_core/inc/alter.inc
hook_form_FORM_ID_alter() Modify the Advanced Search Form
auto_nodetitle_uninstall in sites/all/modules/ulmus/auto_nodetitle/auto_nodetitle.install
Implements hook_uninstall().
book_admin_settings in modules/book/book.admin.inc
Form constructor for the book settings form.
ckeditor_link_ckeditor_link_node_settings in sites/all/modules/ulmus/ckeditor_link/includes/ckeditor_link.node.inc
Implementation of hook_ckeditor_link_TYPE_settings().
clone_settings in sites/all/modules/ulmus/node_clone/clone.pages.inc
Menu callback to configure module settings.

... See full list

1 string reference to 'node_type_get_names'
entity_metadata_node_entity_property_info in sites/all/modules/ulmus/entity/modules/node.info.inc
Implements hook_entity_property_info() on top of node module.

File

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

Code

function node_type_get_names() {
  return _node_types_build()->names;
}
Error | ELMSLN API

Error

×

Error message

  • Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/elmsln_community/api.elmsln.org/includes/common.inc:2791) in drupal_send_headers() (line 1499 of /var/www/html/elmsln_community/api.elmsln.org/includes/bootstrap.inc).
  • Error: Call to undefined function apc_delete() in DrupalAPCCache->clear() (line 289 of /var/www/html/elmsln_community/api.elmsln.org/sites/all/modules/apc/drupal_apc_cache.inc).
The website encountered an unexpected error. Please try again later.