You are here

public function ConfigEntityQuery::exists in Configuration Views 8

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

Add's an exists command.

File

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

Class

ConfigEntityQuery
This query is able to work with config entities.

Namespace

Drupal\config_views\Plugin\views\query

Code

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