function multichoice_install in Quiz 7.5
Same name and namespace in other branches
- 8.4 question_types/multichoice/multichoice.install \multichoice_install()
- 5.2 multichoice.install \multichoice_install()
- 6.6 question_types/multichoice/multichoice.install \multichoice_install()
- 6.2 multichoice.install \multichoice_install()
- 6.3 question_types/multichoice/multichoice.install \multichoice_install()
- 6.4 question_types/multichoice/multichoice.install \multichoice_install()
- 6.5 question_types/multichoice/multichoice.install \multichoice_install()
- 7.6 question_types/multichoice/multichoice.install \multichoice_install()
- 7 question_types/multichoice/multichoice.install \multichoice_install()
- 7.4 question_types/multichoice/multichoice.install \multichoice_install()
Implements hook_install().
File
- question_types/
multichoice/ multichoice.install, line 11 - Multichoice questions install file.
Code
function multichoice_install() {
// Add body field to multichoice node.
quiz_question_add_body_field('multichoice');
variable_set('node_options_multichoice', array(
'status',
));
}