function quiz_page_install in Quiz 7.5
Same name and namespace in other branches
- 7.6 question_types/quiz_page/quiz_page.install \quiz_page_install()
Implements hook_install().
File
- question_types/
quiz_page/ quiz_page.install, line 11 - The installer file for quiz pages module.
Code
function quiz_page_install() {
// Add body field to quiz pages node.
quiz_question_add_body_field('quiz_page');
variable_set('node_options_quiz_page', array(
'status',
));
}