function tripal_analysis_node_info

2.x tripal_analysis.chado_node.inc tripal_analysis_node_info()
3.x tripal_analysis.chado_node.inc tripal_analysis_node_info()
1.x tripal_analysis.module tripal_analysis_node_info()

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

Related topics

File

tripal_analysis/tripal_analysis.module, line 98
Contains all the main hook implementations for the tripal_analysis module

Code

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