You are here

function print_epub_enable in Printer, email and PDF versions 7.2

Implements hook_enable().

File

print_epub/print_epub.install, line 13
Install, update and uninstall functions for the print_epub module.

Code

function print_epub_enable() {

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