function i18n_select_variable_option_list in Internationalization 7
Options for page selection mode
1 string reference to 'i18n_select_variable_option_list'
- i18n_select_variable_info in i18n_select/
i18n_select.variable.inc - Implements hook_variable_info().
File
- i18n_select/
i18n_select.variable.inc, line 64 - Variable information
Code
function i18n_select_variable_option_list($variable, $options = array()) {
$options = array(
I18N_SELECT_PAGE_NOTLISTED => t('All pages except those listed', array(), $options),
I18N_SELECT_PAGE_LISTED => t('Only the listed pages', array(), $options),
);
if (module_exists('php')) {
$options += array(
I18N_SELECT_PAGE_PHP => t('Pages on which this PHP code returns <code>TRUE</code> (experts only)'),
);
}
return $options;
}