You are here

function i18n_variable_del in Internationalization 7

Same name and namespace in other branches
  1. 5.3 i18n.module \i18n_variable_del()
  2. 5 i18n.module \i18n_variable_del()
  3. 5.2 i18n.module \i18n_variable_del()
  4. 6 i18n.module \i18n_variable_del()

Unset a persistent multilingual variable.

Parameters

$name: The name of the variable to undefine.

$langcode: Language code.

File

i18n_variable/i18n_variable.module, line 135
Internationalization (i18n) package. Multilingual variables API.

Code

function i18n_variable_del($name, $langcode) {
  variable_realm_del('language', $langcode, $name);
}