You are here

function multichoice_perm in Quiz 6.2

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

Implementation of hook_perm().

File

./multichoice.module, line 15
Multiple choice question type for the Quiz module.

Code

function multichoice_perm() {
  return array(
    // Manage questions:
    'create multichoice',
    'edit own multichoice',
    // Allow editing of fields:
    'allow any number of answers',
    'allow multiple correct answers',
    'allow feedback',
    'allow user titles',
  );
}