public BaseFieldOverride::__sleep()
Implements the magic __sleep() method.
Overrides FieldConfigBase::__sleep
File
- core/lib/Drupal/Core/Field/Entity/BaseFieldOverride.php, line 234
Class
- BaseFieldOverride
- Defines the base field override entity.
Namespace
Drupal\Core\Field\Entity
Code
public function __sleep() { // Only serialize necessary properties, excluding those that can be // recalculated. unset($this->baseFieldDefinition); return parent::__sleep(); }
Please login to continue.