function Filter::__construct

Constructs a new Filter object.

Parameters

\Drupal\jsonapi\Query\EntityConditionGroup $root: An entity condition group which can be applied to an entity query.

File

core/modules/jsonapi/src/Query/Filter.php, line 66

Class

Filter
Gathers information about the filter parameter.

Namespace

Drupal\jsonapi\Query

Code

public function __construct(EntityConditionGroup $root) {
  $this->root = $root;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.