function tripal_project_node_info
2.x tripal_project.chado_node.inc | tripal_project_node_info() |
3.x tripal_project.chado_node.inc | tripal_project_node_info() |
1.x tripal_project.module | tripal_project_node_info() |
Implementation of hook_node_info().
This node_info, is a simple node that describes the functionallity of the module. It specifies that the title(Project Name) and body(Description) set to true so that they information can be entered
Related topics
File
- tripal_project/
tripal_project.module, line 138 - This file contains the basic functions needed for this drupal module. The drupal tripal_project module maps directly to the chado general module.
Code
function tripal_project_node_info() {
return array(
'chado_project' => array(
'name' => t('Project'),
'module' => 'chado_project',
'description' => t('A module for interfacing the GMOD chado database with Drupal, providing viewing of projects'),
'has_title' => TRUE,
'title_label' => t('Project Name'),
'had_body' => TRUE,
'body_label' => t('Full Description'),
)
);
}