You are here

function print_pdf_enable in Printer, email and PDF versions 7.2

Same name and namespace in other branches
  1. 7 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() {

  // Module weight.
  db_update('system')
    ->fields(array(
    'weight' => 2,
  ))
    ->condition('type', 'module')
    ->condition('name', 'print_pdf')
    ->execute();
}