You are here

function i18n_array_variable_set in Internationalization 6

Utility. Set part of array variable.

Related topics

File

./i18n.module, line 956
Internationalization (i18n) module.

Code

function i18n_array_variable_set($name, $element, $value) {
  $values = variable_get($name, array());
  $values[$element] = $value;
  variable_set($name, $values);
}