public function QueryInterface::currentRevision in Drupal 9
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Entity/Query/QueryInterface.php \Drupal\Core\Entity\Query\QueryInterface::currentRevision()
- 10 core/lib/Drupal/Core/Entity/Query/QueryInterface.php \Drupal\Core\Entity\Query\QueryInterface::currentRevision()
Limits the query to only default revisions.
See the Entity API topic for information about the current revision.
Return value
$this
1 method overrides QueryInterface::currentRevision()
- QueryBase::currentRevision in core/
lib/ Drupal/ Core/ Entity/ Query/ QueryBase.php - Limits the query to only default revisions.
File
- core/
lib/ Drupal/ Core/ Entity/ Query/ QueryInterface.php, line 294
Class
- QueryInterface
- Interface for entity queries.
Namespace
Drupal\Core\Entity\QueryCode
public function currentRevision();