public function QueryInterface::age

Queries the current or every revision.

Note that this only affects field conditions. Property conditions always apply to the current revision. @TODO: Once revision tables have been cleaned up, revisit this.

Parameters

$age:

Return value

\Drupal\Core\Entity\Query\QueryInterface The called object.

1 method overrides QueryInterface::age()
QueryBase::age in drupal/core/lib/Drupal/Core/Entity/Query/QueryBase.php
Implements Drupal\Core\Entity\Query\QueryInterface::age().

File

drupal/core/lib/Drupal/Core/Entity/Query/QueryInterface.php, line 168
Definition of Drupal\Core\Entity\QueryInterface.

Class

QueryInterface
Interface for entity queries.

Namespace

Drupal\Core\Entity\Query

Code

public function age($age = FIELD_LOAD_CURRENT);