public function EntityStorageInterface::getQuery in Drupal 8
Same name and namespace in other branches
- 9 core/lib/Drupal/Core/Entity/EntityStorageInterface.php \Drupal\Core\Entity\EntityStorageInterface::getQuery()
- 10 core/lib/Drupal/Core/Entity/EntityStorageInterface.php \Drupal\Core\Entity\EntityStorageInterface::getQuery()
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()
1 method overrides EntityStorageInterface::getQuery()
- EntityStorageBase::getQuery in core/
lib/ Drupal/ Core/ Entity/ EntityStorageBase.php - Gets an entity query instance.
File
- core/
lib/ Drupal/ Core/ Entity/ EntityStorageInterface.php, line 200
Class
- EntityStorageInterface
- Defines the interface for entity storage classes.
Namespace
Drupal\Core\EntityCode
public function getQuery($conjunction = 'AND');