Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. QueryBase.php

function QueryBase::__clone

Makes sure that the Condition object is cloned as well.

2 calls to QueryBase::__clone()
Query::__clone in core/lib/Drupal/Core/Entity/Query/Sql/Query.php
Implements the magic __clone method.
Query::__clone in core/lib/Drupal/Core/Entity/Query/Sql/Query.php
Implements the magic __clone method.
1 method overrides QueryBase::__clone()
Query::__clone in core/lib/Drupal/Core/Entity/Query/Sql/Query.php
Implements the magic __clone method.

File

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

Class

QueryBase
The base entity query class.

Namespace

Drupal\Core\Entity\Query

Code

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

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal