function regcode_og_menu in Registration codes 6
Same name and namespace in other branches
- 6.2 regcode_og/regcode_og.module \regcode_og_menu()
- 7.2 regcode_og/regcode_og.module \regcode_og_menu()
- 7 regcode_og/regcode_og.module \regcode_og_menu()
Implementation of hook_menu()
File
- regcode_og/
regcode_og.module, line 22
Code
function regcode_og_menu() {
$items = array();
$items['admin/user/regcodes/ogs'] = array(
'title' => t('Organic Groups'),
'description' => t('Automate organic group assignment'),
'page callback' => 'drupal_get_form',
'page arguments' => array(
'regcode_og_admin',
),
'type' => MENU_LOCAL_TASK,
'access arguments' => array(
'administer registration codes',
),
'weight' => 101,
);
$items['admin/user/regcodes/ogs/delete/%'] = array(
'page callback' => 'regcode_og_delete_rule_confirm',
'page arguments' => array(
5,
),
'type' => MENU_CALLBACK,
'access arguments' => array(
'administer registration codes',
),
);
return $items;
}