You are here

function workbench_moderation_install in Workbench Moderation 7

Same name and namespace in other branches
  1. 8.2 workbench_moderation.install \workbench_moderation_install()
  2. 8 workbench_moderation.install \workbench_moderation_install()
  3. 7.3 workbench_moderation.install \workbench_moderation_install()

Implements hook_install().

File

./workbench_moderation.install, line 11
Install file for the Workbench Moderation module.

Code

function workbench_moderation_install() {

  // Create tables.
  _workbench_moderation_insert_values();
  db_update('system')
    ->fields(array(
    'weight' => 5,
  ))
    ->condition('name', 'workbench_moderation')
    ->execute();
}