function tripal_feature_node_info
2.x tripal_feature.chado_node.inc | tripal_feature_node_info() |
3.x tripal_feature.chado_node.inc | tripal_feature_node_info() |
1.x tripal_feature.module | tripal_feature_node_info() |
Provide information to drupal about the node types that we're creating in this module
Related topics
File
- tripal_feature/
tripal_feature.module, line 86 - @todo Add file header description
Code
function tripal_feature_node_info() {
$nodes = array();
$nodes['chado_feature'] = array(
'name' => t('Feature'),
'module' => 'chado_feature',
'description' => t('A feature from the chado database'),
'has_title' => FALSE,
'title_label' => t('Feature'),
'has_body' => FALSE,
'body_label' => t('Feature Description'),
'locked' => TRUE
);
return $nodes;
}