You are here

language_cookie_test.install in Language Cookie 8

The install and update code for the language_cookie_test module.

File

tests/modules/language_cookie_test/language_cookie_test.install
View source
<?php

/**
 * @file
 * The install and update code for the language_cookie_test module.
 */

/**
 * Implements hook_install().
 */
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);
}

Functions

Namesort descending Description
language_cookie_test_install Implements hook_install().