allowed_languages.install in Allowed Languages 8
Same filename and directory in other branches
Installation functions for Allowed Languages module.
File
allowed_languages.installView 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
Name | Description |
---|---|
allowed_languages_install | Implements hook_install(). |
allowed_languages_update_8001 | Update the module weight. |