You are here

public function FieldableEdgeEntityBase::__sleep in Apigee Edge 8

Overrides EntityBase::__sleep

File

src/Entity/FieldableEdgeEntityBase.php, line 81

Class

FieldableEdgeEntityBase
Base field support for Apigee Entities without making them content entities.

Namespace

Drupal\apigee_edge\Entity

Code

public function __sleep() {
  $this->fields = [];
  $this->fieldDefinitions = NULL;
  return parent::__sleep();
}