EntityStorageInterface::getQuery

public EntityStorageInterface::getQuery($conjunction = 'AND')

Gets an entity query instance.

Parameters

string $conjunction: (optional) The logical operator for the query, either:

  • AND: all of the conditions on the query need to match.
  • OR: at least one of the conditions on the query need to match.

Return value

\Drupal\Core\Entity\Query\QueryInterface The query instance.

See also

\Drupal\Core\Entity\EntityStorageBase::getQueryServiceName()

File

core/lib/Drupal/Core/Entity/EntityStorageInterface.php, line 158

Class

EntityStorageInterface
Defines the interface for entity storage classes.

Namespace

Drupal\Core\Entity

Code

public function getQuery($conjunction = 'AND');
doc_Drupal
2016-10-29 09:07:45
Comments
Leave a Comment

Please login to continue.