You are here

function print_install in Printer, email and PDF versions 6

Same name and namespace in other branches
  1. 5.4 print.install \print_install()
  2. 5.3 print.install \print_install()
  3. 7.2 print.install \print_install()
  4. 7 print.install \print_install()
  5. 5.x print.install \print_install()

Implementation of hook_install().

File

./print.install, line 13
Install file of the print module

Code

function print_install() {
  drupal_install_schema('print');

  // Module weight
  update_sql("UPDATE {system} SET weight = 0 WHERE name = 'print'");
  $t = get_t();
  drupal_set_message($t('Printer-friendly Page settings are available under !link', array(
    '!link' => l($t('Administer > Site configuration > Printer-friendly Pages'), 'admin/settings/print'),
  )));
}