ConditionInterface::condition

public ConditionInterface::condition($field, $value = NULL, $operator = NULL, $langcode = NULL)

Adds a condition.

Parameters

string|\Drupal\Core\Entity\Query\ConditionInterface $field:

mixed $value:

string $operator:

string $langcode:

Return value

ConditionInterface

See also

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

File

core/lib/Drupal/Core/Entity/Query/ConditionInterface.php, line 37

Class

ConditionInterface
Defines the entity query condition interface.

Namespace

Drupal\Core\Entity\Query

Code

public function condition($field, $value = NULL, $operator = NULL, $langcode = NULL);
doc_Drupal
2016-10-29 08:52:01
Comments
Leave a Comment

Please login to continue.