You are here

public function ConditionAggregateInterface::condition in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/lib/Drupal/Core/Entity/Query/ConditionAggregateInterface.php \Drupal\Core\Entity\Query\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()
ConditionAggregateBase::condition in core/lib/Drupal/Core/Entity/Query/ConditionAggregateBase.php
Adds a condition.

File

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);