function tripal_library_node_info

2.x tripal_library.chado_node.inc tripal_library_node_info()
3.x tripal_library.chado_node.inc tripal_library_node_info()
1.x tripal_library.module tripal_library_node_info()

Provide information to drupal about the node types that we're creating in this module

Related topics

File

tripal_library/tripal_library.module, line 41

Code

function tripal_library_node_info() {
  $nodes = array();
  $nodes['chado_library'] = array(
    'name' => t('Library'),
    'module' => 'chado_library',
    'description' => t('A library from the chado database'),
    'has_title' => FALSE,
    'title_label' => t('Library'),
    'has_body' => FALSE,
    'body_label' => t('Library Description'),
    'locked' => TRUE
  );
  return $nodes;
}