You are here

function print_enable in Printer, email and PDF versions 7

Same name and namespace in other branches
  1. 7.2 print.install \print_enable()

Implements hook_enable().

File

./print.install, line 23
Install, update and uninstall functions for the print module.

Code

function print_enable() {

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