You are here

function pagepreview_install in Page Preview 6

Implements hook_install().

Set module weight to so that pagepreview_init() can run early.

File

./pagepreview.install, line 13
Install functions for the Page Preview module.

Code

function pagepreview_install() {
  db_query('UPDATE {system} SET weight = -1 WHERE name = "pagepreview"');
}