You are here

function rec_example_menu in Recommender API 7.3

Same name and namespace in other branches
  1. 7.5 rec_example/rec_example.module \rec_example_menu()

Implements hook_menu();

File

rec_example/rec_example.module, line 22

Code

function rec_example_menu() {
  $items = array();
  $items['admin/config/recommender/rec_example'] = array(
    'title' => 'Recommender API Example',
    'description' => 'Configuration and trigger rec_example module.',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'rec_example_settings_form',
    ),
    'access arguments' => array(
      'administer recommender',
    ),
  );
  return $items;
}