function Combine::op_not_starts

Overrides String::op_not_starts

File

drupal/core/modules/views/lib/Drupal/views/Plugin/views/filter/Combine.php, line 111
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

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