function tripal_organism_menu
2.x tripal_organism.module | tripal_organism_menu() |
3.x tripal_organism.module | tripal_organism_menu() |
1.x tripal_organism.module | tripal_organism_menu() |
Menu items are automatically added for the new node types created by this module to the 'Create Content' Navigation menu item. This function adds more menu items needed for this module.
Related topics
File
- tripal_organism/
tripal_organism.module, line 97 - tripal_organism Organism Module
Code
function tripal_organism_menu() {
$items = array();
// the administative settings menu
$items['admin/tripal/tripal_organism'] = array(
'title' => 'Organisms',
'description' => 'Basic Description of Tripal Organism Module Functionality',
'page callback' => 'theme',
'page arguments' => array('tripal_organism_admin'),
'access arguments' => array('adminster tripal organism'),
'type' => MENU_NORMAL_ITEM,
);
$items['admin/tripal/tripal_organism/configuration'] = array(
'title' => 'Configuration',
'description' => 'Manage integration of Chado organisms including associated features',
'page callback' => 'drupal_get_form',
'page arguments' => array('tripal_organism_admin'),
'access arguments' => array('adminster tripal organism'),
'type' => MENU_NORMAL_ITEM,
);
return $items;
}