function multichoice_perm in Quiz 6.6
Same name and namespace in other branches
- 5.2 multichoice.module \multichoice_perm()
- 5 multichoice.module \multichoice_perm()
- 6.2 multichoice.module \multichoice_perm()
- 6.3 question_types/multichoice/multichoice.module \multichoice_perm()
- 6.5 question_types/multichoice/multichoice.module \multichoice_perm()
Implementation of hook_perm().
File
- question_types/
multichoice/ multichoice.module, line 71 - Multiple choice question type for the Quiz module.
Code
function multichoice_perm() {
return array(
// Manage questions:
'create multichoice',
'edit own multichoice',
'edit any multichoice',
'delete own multichoice',
'delete any multichoice',
// Allow editing of fields:
'allow any number of answers',
'allow multiple correct answers',
'allow feedback',
'allow user titles',
);
}