You are here

function flot_example_menu in Flot 7

Implements hook_menu

File

flot_example/flot_example.module, line 8

Code

function flot_example_menu() {
  $items['flot_example'] = array(
    'title' => t('Flot example'),
    'page callback' => 'flot_example_page',
    'access callback' => TRUE,
  );
  if (module_exists('flot_views')) {
    $items['flot_views_example'] = array(
      'title' => t('Flot views example'),
      'page callback' => 'flot_views_example_page',
      'access callback' => TRUE,
    );
  }
  return $items;
}