function i18n_variable_info in Internationalization 7
Implements hook_variable_info().
File
- ./
i18n.variable.inc, line 23 - Variable information
Code
function i18n_variable_info($options = array()) {
$variables['i18n_language_list'] = array(
'title' => t('Languages for content', array(), $options),
'description' => t('Determines which languages will be allowed for content creation.', array(), $options),
'type' => 'select',
'options callback' => 'i18n_variable_option_list',
'default' => I18N_LANGUAGE_ENABLED,
'group' => 'i18n',
);
return $variables;
}