function EntityField::__wakeup
Attributes
#[\ReturnTypeWillChange]
Overrides DependencySerializationTrait::__wakeup
File
-
modules/
ctools_block/ src/ Plugin/ Block/ EntityField.php, line 379
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;
}