You are here

function String::op_not_ends in Views (for Drupal 7) 8.3

1 method overrides String::op_not_ends()
Combine::op_not_ends in lib/Drupal/views/Plugin/views/filter/Combine.php

File

lib/Drupal/views/Plugin/views/filter/String.php, line 318
Definition of Drupal\views\Plugin\views\filter\String.

Class

String
Basic textfield filter to handle string filtering commands including equality, like, not like, etc.

Namespace

Drupal\views\Plugin\views\filter

Code

function op_not_ends($field) {
  $this->query
    ->add_where($this->options['group'], $field, '%' . db_like($this->value), 'NOT LIKE');
}