function ajax_quiz_menu in Quiz 7.6
Same name and namespace in other branches
- 8.4 modules/ajax_quiz/ajax_quiz.module \ajax_quiz_menu()
- 6.6 includes/ajax_quiz/ajax_quiz.module \ajax_quiz_menu()
- 6.4 includes/ajax_quiz/ajax_quiz.module \ajax_quiz_menu()
- 7 includes/ajax_quiz/ajax_quiz.module \ajax_quiz_menu()
- 7.4 includes/ajax_quiz/ajax_quiz.module \ajax_quiz_menu()
Implements hook_menu().
File
- modules/
ajax_quiz/ ajax_quiz.module, line 46
Code
function ajax_quiz_menu() {
$items = array();
$items['node/%quiz_type_access/ajax-quiz'] = array(
'title' => 'Take by AJAX',
'file' => 'ajax_quiz.admin.inc',
'page callback' => 'ajax_quiz_instruction',
'page arguments' => array(
1,
),
'access arguments' => array(
'access ajax quiz',
),
'type' => MENU_LOCAL_TASK,
);
return $items;
}