function QueryBase::__clone

Makes sure that the Condition object is cloned as well.

1 call to QueryBase::__clone()
Query::__clone in drupal/core/modules/field_sql_storage/lib/Drupal/field_sql_storage/Entity/Query.php
Implements the magic __clone method.
1 method overrides QueryBase::__clone()
Query::__clone in drupal/core/modules/field_sql_storage/lib/Drupal/field_sql_storage/Entity/Query.php
Implements the magic __clone method.

File

drupal/core/lib/Drupal/Core/Entity/Query/QueryBase.php, line 285
Contains \Drupal\Core\Entity\Query\QueryBase.

Class

QueryBase
The base entity query class.

Namespace

Drupal\Core\Entity\Query

Code

function __clone() {
  $this->condition = clone $this->condition;
}