function Search::operator_form in Views (for Drupal 7) 8.3
Provide simple equality operator
Overrides FilterPluginBase::operator_form
File
- lib/
Views/ search/ Plugin/ views/ filter/ Search.php, line 54 - Definition of Views\search\Plugin\views\filter\Search.
Class
- Search
- Field handler to provide simple renderer that allows linking to a node.
Namespace
Views\search\Plugin\views\filterCode
function operator_form(&$form, &$form_state) {
$form['operator'] = array(
'#type' => 'radios',
'#title' => t('On empty input'),
'#default_value' => $this->operator,
'#options' => array(
'optional' => t('Show All'),
'required' => t('Show None'),
),
);
}