function charts_graphs_menu in Charts and Graphs 6.2
Same name and namespace in other branches
- 6 charts_graphs.module \charts_graphs_menu()
- 7.2 charts_graphs.module \charts_graphs_menu()
- 7 charts_graphs.module \charts_graphs_menu()
Implementation of hook_menu().
File
- ./
charts_graphs.module, line 31
Code
function charts_graphs_menu() {
$items = array();
// For testing and Advanced Help examples.
$items['charts_graphs/test'] = array(
'page callback' => 'charts_graphs_test',
'access arguments' => array(
'access content',
),
'type' => MENU_CALLBACK,
);
$items['admin/settings/charts_graphs'] = array(
'title' => 'Charts and Graphs',
'description' => 'Main configurations for Charts and Graphs',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'charts_graphs_main_settings_form',
),
'access arguments' => array(
'administer site configuration',
),
'type' => MENU_NORMAL_ITEM,
);
return $items;
}