function charts_graphs_menu in Charts and Graphs 7.2
Same name and namespace in other branches
- 6.2 charts_graphs.module \charts_graphs_menu()
- 6 charts_graphs.module \charts_graphs_menu()
- 7 charts_graphs.module \charts_graphs_menu()
Implements 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/config/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;
}