You are here

public function Facet::__sleep in Facets 8

Remove the facet lazy built data when the facet is serialized.

Overrides ConfigEntityBase::__sleep

File

src/Entity/Facet.php, line 1026

Class

Facet
Defines the facet configuration entity.

Namespace

Drupal\facets\Entity

Code

public function __sleep() {
  unset($this->facet_source_instance);
  unset($this->processors);
  return parent::__sleep();
}