You are here

function chart_menu in Google Chart Tools: Image Charts 5

Same name and namespace in other branches
  1. 6 chart.module \chart_menu()
  2. 7 chart.module \chart_menu()

Implementation of hook_menu().

File

./chart.module, line 79
Google Charting API. Developed by Tj Holowaychuk

Code

function chart_menu($may_cache) {
  $items = array();
  if ($may_cache) {
    $items[] = array(
      'path' => 'admin/settings/chart',
      'title' => t('Charts'),
      'callback' => 'drupal_get_form',
      'callback arguments' => array(
        'chart_settings',
      ),
      'access' => user_access('administer chart'),
    );
  }
  return $items;
}