function views_node_taxonomy_filter_handler_filter_tid::operator_options in Views Node Taxonomy Filter 7
Same name and namespace in other branches
- 6 views_node_taxonomy_filter_handler_filter_tid.inc \views_node_taxonomy_filter_handler_filter_tid::operator_options()
Provide a list of options for the default operator form.
Should be overridden by classes that don't override operator_form.
Overrides views_handler_filter::operator_options
File
Class
Code
function operator_options() {
if ($this->options['multiple']) {
return array(
'is' => t('Is one of'),
'is not' => t('Is not one of'),
);
}
else {
return array(
'is' => t('Is'),
'is not' => t('Is not'),
);
}
}