You are here

domain_lang.install in Domain Lang 7

Install file.

File

domain_lang.install
View source
<?php

/**
 * @file
 * Install file.
 */

/**
 * Implements hook_install().
 */
function domain_lang_install() {
  db_update('system')
    ->expression('weight', 'weight + :weight', array(
    ':weight' => 100,
  ))
    ->condition('name', 'domain_lang')
    ->condition('type', 'module')
    ->execute();
}

Functions

Namesort descending Description
domain_lang_install Implements hook_install().