QueryBase::__clone

QueryBase::__clone()

Makes sure that the Condition object is cloned as well.

File

core/lib/Drupal/Core/Entity/Query/QueryBase.php, line 328

Class

QueryBase
The base entity query class.

Namespace

Drupal\Core\Entity\Query

Code

function __clone() {
  $this->condition = clone $this->condition;
}
doc_Drupal
2016-10-29 09:35:44
Comments
Leave a Comment

Please login to continue.