You are here

public function EntityStructureWrapper::clear in Entity API 7

Clears the data value and the wrapper cache.

Overrides EntityMetadataWrapper::clear

1 call to EntityStructureWrapper::clear()
EntityDrupalWrapper::clear in includes/entity.wrapper.inc
Overridden.
1 method overrides EntityStructureWrapper::clear()
EntityDrupalWrapper::clear in includes/entity.wrapper.inc
Overridden.

File

includes/entity.wrapper.inc, line 577
Provides wrappers allowing easy usage of the entity metadata.

Class

EntityStructureWrapper
Provides a general wrapper for any data structure. For this to work the metadata has to be passed during construction.

Code

public function clear() {
  $this->propertyInfoAltered = FALSE;
  parent::clear();
}