You are here

function recommender_menu in Recommender API 7.3

Same name and namespace in other branches
  1. 6.3 recommender.module \recommender_menu()
  2. 6.2 recommender.module \recommender_menu()
  3. 7.6 recommender.module \recommender_menu()
  4. 7.4 recommender.module \recommender_menu()
  5. 7.5 recommender.module \recommender_menu()

File

./recommender.module, line 163
Providing generic recommender system algorithms.

Code

function recommender_menu() {
  $items = array();
  $items['admin/config/recommender'] = array(
    'title' => 'Recommender',
    'description' => 'Configuration and trigger recommender modules',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'recommender_settings_form',
    ),
    'access arguments' => array(
      'administer recommender',
    ),
    'file' => 'recommender.admin.inc',
  );

  //  $items['recommender/run'] = array(
  //    'title' => 'Running recommender',
  //    'page callback' => 'recommender_run',
  //    'access arguments' => array('administer recommender'),
  //    'type' => MENU_CALLBACK,
  //   );
  return $items;
}