You are here

language_cookie.install in Language Cookie 7

Same filename and directory in other branches
  1. 8 language_cookie.install
  2. 7.2 language_cookie.install

The install and update code for the language_cookie module.

File

language_cookie.install
View source
<?php

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

/**
 * Update language types as we are defining a new provider.
 *
 * See locale_modules_enabled().
 */
function language_cookie_update_7170() {
  include_once DRUPAL_ROOT . '/includes/language.inc';
  language_types_set();
  language_negotiation_purge();
}

Functions

Namesort descending Description
language_cookie_update_7170 Update language types as we are defining a new provider.