function views_custom_conditions_plugin_display_extender_code::options_form in Views Custom Conditions 7
Provide the form to set new option.
Overrides views_plugin_display_extender::options_form
File
- ./
views_custom_conditions_plugin_display_extender_code.inc, line 21 - Contains the class to extend views display plugins browse all link.
Class
- views_custom_conditions_plugin_display_extender_code
- The plugin that added additional setting to views edit form.
Code
function options_form(&$form, &$form_state) {
switch ($form_state['section']) {
case 'views_custom_conditions':
$form['#title'] .= t('Setting');
$form['views_custom_conditions'] = array(
'#type' => 'textarea',
'#description' => t('Please enter table,field,desired match value and operator name saprated by "|" symbol. eg:- A). node|title|%2%|LIKE,B). users|uid|arg1,arg2,arg3|IN. Please use next line for multiple index.'),
'#default_value' => $this->display
->get_option('views_custom_conditions'),
);
break;
}
}