You are here

function domain_variable_i18n_install in Domain Variable 7

Implements hook_install().

File

domain_variable_i18n/domain_variable_i18n.install, line 11
Installation file for I18n + Domain Variables Integration module.

Code

function domain_variable_i18n_install() {

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