function print_pdf_enable in Printer, email and PDF versions 7
Same name and namespace in other branches
- 7.2 print_pdf/print_pdf.install \print_pdf_enable()
Implements hook_enable().
File
- print_pdf/
print_pdf.install, line 13 - Install, update and uninstall functions for the print_pdf module.
Code
function print_pdf_enable() {
$t = get_t();
// Module weight
db_update('system')
->fields(array(
'weight' => 2,
))
->condition('type', 'module')
->condition('name', 'print_pdf')
->execute();
}