You are here

function multichoice_menu in Quiz 5

Same name and namespace in other branches
  1. 5.2 multichoice.module \multichoice_menu()
  2. 6.6 question_types/multichoice/multichoice.module \multichoice_menu()
  3. 6.2 multichoice.module \multichoice_menu()
  4. 6.3 question_types/multichoice/multichoice.module \multichoice_menu()
  5. 6.4 question_types/multichoice/multichoice.module \multichoice_menu()
  6. 6.5 question_types/multichoice/multichoice.module \multichoice_menu()

Implementation of hook_menu().

File

./multichoice.module, line 52
Multiple choice question type for quiz module

Code

function multichoice_menu($may_cache) {
  $items = array();
  if ($may_cache) {
    $items[] = array(
      'path' => 'node/add/multichoice',
      'title' => t(MULTICHOICE_NAME),
      'access' => user_access('create multichoice'),
    );
  }
  return $items;
}