function language_cookie_test_install in Language Cookie 8
Implements hook_install().
File
- tests/
modules/ language_cookie_test/ language_cookie_test.install, line 11 - The install and update code for the language_cookie_test module.
Code
function language_cookie_test_install() {
// Set module to weight -1 so the LanguageCookieFixedNegotiation will be
// added as first language negotiation. This is done so we can test if
// the language negotiations are correctly ordered by weight in
// language_cookie.
module_set_weight('language_cookie_test', -1);
}