function tripal_organism_node_info

2.x tripal_organism.chado_node.inc tripal_organism_node_info()
3.x tripal_organism.chado_node.inc tripal_organism_node_info()
1.x tripal_organism.module tripal_organism_node_info()

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

Related topics

File

tripal_organism/tripal_organism.module, line 28
tripal_organism Organism Module

Code

function tripal_organism_node_info() {
  $nodes = array();
  $nodes['chado_organism'] = array(
    'name' => t('Organism'),
    'module' => 'chado_organism',
    'description' => t('An organism from the chado database'),
    'has_title' => FALSE,
    'title_label' => t('Organism'),
    'has_body' => FALSE,
    'body_label' => t('Organism Description'),
    'locked' => TRUE
  );
  return $nodes;
}