public function QueryTest::addWhere

File

drupal/core/modules/views/tests/views_test_data/lib/Drupal/views_test_data/Plugin/views/query/QueryTest.php, line 63
Definition of Drupal\views_test_data\Plugin\views\query\QueryTest.

Class

QueryTest
Defines a query test plugin.

Namespace

Drupal\views_test_data\Plugin\views\query

Code

public function addWhere($group, $field, $value = NULL, $operator = NULL) {
  $this->conditions[] = array(
    'field' => $field,
    'value' => $value,
    'operator' => $operator,
  );
}