function ConditionInterface::setQuery

Same name and namespace in other branches
  1. 11.x core/lib/Drupal/Core/Entity/Query/ConditionInterface.php \Drupal\Core\Entity\Query\ConditionInterface::setQuery()

Sets query that is holding this condition.

Parameters

\Drupal\Core\Entity\Query\QueryInterface $query: New query to use.

Return value

static

File

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

Class

ConditionInterface
Defines the entity query condition interface.

Namespace

Drupal\Core\Entity\Query

Code

public function setQuery(QueryInterface $query) : static;

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