quiz_page.install in Quiz 7.5
Same filename and directory in other branches
The installer file for quiz pages module.
File
question_types/quiz_page/quiz_page.installView source
<?php
/**
* @file
* The installer file for quiz pages module.
*/
/**
* Implements hook_install().
*/
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',
));
}
Functions
Name![]() |
Description |
---|---|
quiz_page_install | Implements hook_install(). |