public function EntityField::__wakeup in Chaos Tool Suite (ctools) 8.3
Overrides DependencySerializationTrait::__wakeup
File
- modules/
ctools_block/ src/ Plugin/ Block/ EntityField.php, line 374
Class
- EntityField
- Provides a block to a field on an entity.
Namespace
Drupal\ctools_block\Plugin\BlockCode
public function __wakeup() {
parent::__wakeup();
// @todo figure out why this happens.
// prevent $fieldStorageDefinition being erroneously set to $this.
$this->fieldStorageDefinition = NULL;
}