public function QueryBase::__clone in Drupal 10
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Entity/Query/QueryBase.php \Drupal\Core\Entity\Query\QueryBase::__clone()
- 9 core/lib/Drupal/Core/Entity/Query/QueryBase.php \Drupal\Core\Entity\Query\QueryBase::__clone()
Makes sure that the Condition object is cloned as well.
File
- core/
lib/ Drupal/ Core/ Entity/ Query/ QueryBase.php, line 343
Class
- QueryBase
- The base entity query class.
Namespace
Drupal\Core\Entity\QueryCode
public function __clone() {
$this->condition = clone $this->condition;
}