function QueryInterface::currentRevision

Same name in other branches
  1. 9 core/lib/Drupal/Core/Entity/Query/QueryInterface.php \Drupal\Core\Entity\Query\QueryInterface::currentRevision()
  2. 8.9.x core/lib/Drupal/Core/Entity/Query/QueryInterface.php \Drupal\Core\Entity\Query\QueryInterface::currentRevision()
  3. 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

File

core/lib/Drupal/Core/Entity/Query/QueryInterface.php, line 296

Class

QueryInterface
Interface for entity queries.

Namespace

Drupal\Core\Entity\Query

Code

public function currentRevision();

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