function views_handler_filter_string::options_form
2.x views_handler_filter_string.inc | views_handler_filter_string::options_form(&$form, &$form_state) |
Provide the basic form which calls through to subforms. If overridden, it is best to call through to the parent, or to at least make sure all of the functions in this form are called.
Overrides views_handler_filter::options_form
File
- handlers/
views_handler_filter_string.inc, line 135
Class
- views_handler_filter_string
- Basic textfield filter to handle string filtering commands including equality, like, not like, etc.
Code
function options_form(&$form, &$form_state) {
parent::options_form($form, $form_state);
$form['case'] = array(
'#type' => 'checkbox',
'#title' => t('Case sensitive'),
'#default_value' => $this->options['case'],
'#description' => t('Case sensitive filters may be faster. MySQL might ignore case sensitivity.'),
);
}