You are here

public function Server::__clone in Search API 8

Implements the magic __clone() method.

Prevents the backend plugin instance from being cloned.

File

src/Entity/Server.php, line 614

Class

Server
Defines the search server configuration entity.

Namespace

Drupal\search_api\Entity

Code

public function __clone() {
  $this->backendPlugin = NULL;
}