function tripal_analysis_menu
2.x tripal_analysis.module | tripal_analysis_menu() |
3.x tripal_analysis.module | tripal_analysis_menu() |
1.x tripal_analysis.module | tripal_analysis_menu() |
Implementation of hook_menu(). Entry points and paths of the module
Related topics
File
- tripal_analysis/
tripal_analysis.module, line 44 - Contains basic functionality for the analysis module.
Code
function tripal_analysis_menu() {
// Tripal Analysis administrative settings
$items['admin/tripal/chado/tripal_analysis'] = array(
'title' => 'Analyses',
'description' => 'A bioinformatics analysis producing features.',
'page callback' => 'tripal_analysis_admin_analysis_view',
'access arguments' => array('administer tripal analysis'),
'type' => MENU_NORMAL_ITEM,
);
$items['admin/tripal/chado/tripal_analysis/help'] = array(
'title' => 'Help',
'description' => "A description of the Tripal Analysis module including a short description of it's usage.",
'page callback' => 'theme',
'page arguments' => array('tripal_analysis_help'),
'access arguments' => array('administer tripal analysis'),
'type' => MENU_LOCAL_TASK,
'weight' => 10,
);
$items['admin/tripal/chado/tripal_analysis/configuration'] = array(
'title' => 'Settings',
'description' => 'Settings for the displays of analysis results.',
'page callback' => 'drupal_get_form',
'page arguments' => array('tripal_analysis_admin'),
'access arguments' => array('administer tripal analysis'),
'type' => MENU_LOCAL_TASK,
'weight' => 5
);
$items['admin/tripal/chado/tripal_analysis/sync'] = array(
'title' => ' Sync',
'description' => 'Create pages on this site for analyses stored in Chado',
'page callback' => 'drupal_get_form',
'page arguments' => array('chado_node_sync_form', 'tripal_analysis', 'chado_analysis'),
'access arguments' => array('administer tripal analysis'),
'type' => MENU_LOCAL_TASK,
'weight' => 1
);
$items['admin/tripal/chado/tripal_analysis/delete'] = array(
'title' => ' Delete',
'description' => 'Delete multiple analyses from Chado',
'page callback' => 'drupal_get_form',
'page arguments' => array('tripal_analysis_delete_form'),
'access arguments' => array('administer tripal feature'),
'type' => MENU_LOCAL_TASK,
'file path' => drupal_get_path('module', 'tripal_analysis'),
'file' => 'includes/tripal_analysis.delete.inc',
'weight' => 2
);
$items['admin/tripal/chado/tripal_analysis/chado_analysis_toc'] = array(
'title' => ' TOC',
'description' => 'Manage the table of contents for analysis nodes.',
'page callback' => 'drupal_get_form',
'page arguments' => array('tripal_core_content_type_toc_form', 'chado_analysis'),
'access arguments' => array('administer tripal analysis'),
'type' => MENU_LOCAL_TASK,
'file' => 'includes/tripal_core.toc.inc',
'file path' => drupal_get_path('module', 'tripal_core'),
'weight' => 3
);
return $items;
}