function recommender_menu in Recommender API 7.3
Same name and namespace in other branches
- 6.3 recommender.module \recommender_menu()
- 6.2 recommender.module \recommender_menu()
- 7.6 recommender.module \recommender_menu()
- 7.4 recommender.module \recommender_menu()
- 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;
}