You are here

function easychart_menu in Easychart 7.2

Same name and namespace in other branches
  1. 7.3 easychart.module \easychart_menu()
  2. 7 easychart.module \easychart_menu()

File

./easychart.module, line 412
Easychart module file.

Code

function easychart_menu() {
  return array(
    'admin/config/media/easychart' => array(
      'title' => 'Easychart',
      'description' => t('Configure the options that will be available when creating charts.'),
      'page callback' => 'drupal_get_form',
      'page arguments' => array(
        'easychart_admin',
      ),
      'access arguments' => array(
        'administer Easychart settings',
      ),
      'type' => MENU_NORMAL_ITEM,
    ),
    'easycharts/chart-options/%node' => array(
      'page callback' => 'easychart_chart_options',
      'page arguments' => array(
        2,
      ),
      'access callback' => 'node_access',
      'access arguments' => array(
        'view',
        2,
      ),
      'type' => MENU_NORMAL_ITEM,
    ),
  );
}