protected function Combine::opNotEnds

Overrides String::opNotEnds

File

drupal/core/modules/views/lib/Drupal/views/Plugin/views/filter/Combine.php, line 119
Definition of Drupal\views\Plugin\views\filter\Combine.

Class

Combine
Filter handler which allows to search on multiple fields.

Namespace

Drupal\views\Plugin\views\filter

Code

protected function opNotEnds($expression) {
  $placeholder = $this
    ->placeholder();
  $this->query
    ->add_where_expression($this->options['group'], "{$expression} NOT LIKE {$placeholder}", array(
    $placeholder => '%' . db_like($this->value),
  ));
}