public function ConditionAggregateInterface::condition

Adds a condition.

Parameters

string|ConditionAggregateInterface $field:

string $function:

mixed $value:

string $operator:

string $langcode:

Return value

\Drupal\Core\Entity\Query\ConditionAggregateInterface The called object.

See also

\Drupal\Core\Entity\Query\QueryInterface::condition()

1 method overrides ConditionAggregateInterface::condition()

File

drupal/core/lib/Drupal/Core/Entity/Query/ConditionAggregateInterface.php, line 36
Contains \Drupal\Core\Entity\Query\ConditionAggregateInterface.

Class

ConditionAggregateInterface
Defines aggregated entity query conditions.

Namespace

Drupal\Core\Entity\Query

Code

public function condition($field, $function = NULL, $value = NULL, $operator = NULL, $langcode = NULL);