function Combine::op_not in Views (for Drupal 7) 8.3
Overrides String::op_not
File
- lib/
Drupal/ views/ Plugin/ views/ filter/ Combine.php, line 126 - Definition of Drupal\views\Plugin\views\filter\Combine.
Class
- Combine
- Filter handler which allows to search on multiple fields.
Namespace
Drupal\views\Plugin\views\filterCode
function op_not($field) {
$placeholder = $this
->placeholder();
$this->query
->add_where_expression($this->options['group'], "{$field} NOT LIKE {$placeholder}", array(
$placeholder => '%' . db_like($this->value) . '%',
));
}