1 views_handler_filter_string.inc views_handler_filter_string::op_contains($field)

File

core/modules/views/handlers/views_handler_filter_string.inc, line 259
Definition of views_handler_filter_string.

Class

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

Code

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