You are here

function Numeric::op_regex in Views (for Drupal 7) 8.3

File

lib/Drupal/views/Plugin/views/filter/Numeric.php, line 280
Definition of Drupal\views\Plugin\views\filter\Numeric.

Class

Numeric
Simple filter to handle greater than/less than filters

Namespace

Drupal\views\Plugin\views\filter

Code

function op_regex($field) {
  $this->query
    ->add_where($this->options['group'], $field, $this->value, 'RLIKE');
}