function recommender_menu in Recommender API 6.2
Same name and namespace in other branches
- 6.3 recommender.module \recommender_menu()
- 7.6 recommender.module \recommender_menu()
- 7.3 recommender.module \recommender_menu()
- 7.4 recommender.module \recommender_menu()
- 7.5 recommender.module \recommender_menu()
File
- ./
recommender.module, line 177
Code
function recommender_menu() {
$items = array();
$items['admin/settings/recommender'] = array(
'title' => 'Recommender API',
'description' => 'Configuration and trigger recommender modules',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'recommender_settings_form',
),
'access arguments' => array(
'administer recommender',
),
);
$items['recommender/run'] = array(
'title' => 'Running recommender',
'page callback' => 'recommender_run',
'access arguments' => array(
'administer recommender',
),
'type' => MENU_CALLBACK,
);
return $items;
}