function i18nviews_plugin_argument_validate_i18n_taxonomy_term::convert_options in Internationalization Views 6.3
Same name and namespace in other branches
- 7.3 includes/i18nviews_plugin_argument_validate_i18n_taxonomy_term.inc \i18nviews_plugin_argument_validate_i18n_taxonomy_term::convert_options()
File
- includes/
i18nviews_plugin_argument_validate_i18n_taxonomy_term.inc, line 18 - Contains the 'Taxonomy term (i18n)' argument validator plugin.
Class
- i18nviews_plugin_argument_validate_i18n_taxonomy_term
- Validate whether an argument is a localized term.
Code
function convert_options(&$options) {
if (!isset($options['vids']) && !empty($this->argument->options['validate_argument_vocabulary_i18n'])) {
$options['vids'] = $this->argument->options['validate_argument_vocabulary_i18n'];
$options['type'] = $this->argument->options['validate_argument_type_i18n'];
$options['transform'] = $this->argument->options['validate_argument_transform_i18n'];
}
}