You are here

allowed_languages.install in Allowed Languages 8

Same filename and directory in other branches
  1. 2.x allowed_languages.install

Installation functions for Allowed Languages module.

File

allowed_languages.install
View source
<?php

/**
 * @file
 * Installation functions for Allowed Languages module.
 */

/**
 * Implements hook_install().
 */
function allowed_languages_install() {

  // Make sure the allowed languages module runs after the content translation
  // module so that we can access changes it's made through alter hooks etc.
  module_set_weight('allowed_languages', 20);
}

/**
 * Update the module weight.
 */
function allowed_languages_update_8001() {
  module_set_weight('allowed_languages', 20);
}

Functions

Namesort descending Description
allowed_languages_install Implements hook_install().
allowed_languages_update_8001 Update the module weight.