function multichoice_menu in Quiz 6.4
Same name and namespace in other branches
- 5.2 multichoice.module \multichoice_menu()
- 5 multichoice.module \multichoice_menu()
- 6.6 question_types/multichoice/multichoice.module \multichoice_menu()
- 6.2 multichoice.module \multichoice_menu()
- 6.3 question_types/multichoice/multichoice.module \multichoice_menu()
- 6.5 question_types/multichoice/multichoice.module \multichoice_menu()
Implementation of hook_menu
File
- question_types/
multichoice/ multichoice.module, line 85 - The main file for multichoice.
Code
function multichoice_menu() {
$dummy_node = new stdClass();
$dummy_node->type = 'multichoice';
$items['node/add/multichoice/add_alternative_ahah'] = array(
'page callback' => 'multichoice_add_alternative_ahah',
'type' => MENU_CALLBACK,
'access callback' => 'node_access',
'access arguments' => array(
'create',
$dummy_node,
),
);
return $items;
}