You are here

public function ConfigEntityQuery::condition in Configuration Views 2.0.x

Same name and namespace in other branches
  1. 8 src/Plugin/views/query/ConfigEntityQuery.php \Drupal\config_views\Plugin\views\query\ConfigEntityQuery::condition()

Adds a condition.

File

src/Plugin/views/query/ConfigEntityQuery.php, line 43

Class

ConfigEntityQuery
This query is able to work with config entities.

Namespace

Drupal\config_views\Plugin\views\query

Code

public function condition($group, $field, $value = NULL, $operator = NULL, $langcode = NULL) {
  $this->commands[$group][] = [
    'method' => 'condition',
    'args' => [
      $field,
      $value,
      $operator,
      $langcode,
    ],
  ];
}