You are here

function protected_node_install in Protected Node 7

Same name and namespace in other branches
  1. 5 protected_node.install \protected_node_install()
  2. 6 protected_node.install \protected_node_install()
  3. 1.0.x protected_node.install \protected_node_install()

Implements hook_install().

File

./protected_node.install, line 71
Install, update and uninstall functions for the protected_node module.

Code

function protected_node_install() {
  db_update('system')
    ->fields(array(
    'weight' => 80,
  ))
    ->condition('name', 'protected_node')
    ->condition('type', 'module')
    ->execute();
}