function book_helper_install in Book helper 7
Same name and namespace in other branches
- 6 book_helper.install \book_helper_install()
Implements hook_install().
File
- ./
book_helper.install, line 11 - Install and uninstall functions for the 'Book helper' module.
Code
function book_helper_install() {
// Set weight=10 so that the book_helper.module is called after the book.module.
db_update('system')
->fields(array(
'weight' => 10,
))
->condition('name', 'book_helper')
->execute();
}