You are here

function questions_import_menu in Quiz 6.6

Same name and namespace in other branches
  1. 6.3 includes/questions_import/questions_import.module \questions_import_menu()
  2. 6.5 includes/questions_import/questions_import.module \questions_import_menu()

File

includes/questions_import/questions_import.module, line 34
Questions Import

Code

function questions_import_menu() {
  $items = array();
  $items['admin/quiz/questions_import'] = array(
    'title' => t('Import Quiz Questions'),
    'description' => t('Import Questions is an addon for quiz module. It allows to create a bulk of quiz questions from files. Allowed file formats are CSV, Moodle Aiken and QTI format.'),
    'file' => 'questions_import.admin.inc',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'questions_import_form',
    ),
    'access arguments' => array(
      'import_questions',
    ),
    'type' => MENU_NORMAL_ITEM,
  );
  return $items;
}