You are here

function domain_variable_install in Domain Variable 7

Implements hook_install().

File

./domain_variable.install, line 30
Installation file for I18n + Domain Variables Integration module.

Code

function domain_variable_install() {

  // Set module weight for it to run before most modules, but after
  // variable_realm.
  db_update('system')
    ->fields(array(
    'weight' => -900,
  ))
    ->condition('name', 'domain_variable')
    ->condition('type', 'module')
    ->execute();
}