You are here

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

2 calls to String::operator()
Combine::op_equal in lib/Drupal/views/Plugin/views/filter/Combine.php
String::op_equal in lib/Drupal/views/Plugin/views/filter/String.php

File

lib/Drupal/views/Plugin/views/filter/String.php, line 244
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 operator() {
  return $this->operator == '=' ? 'LIKE' : 'NOT LIKE';
}