You are here

public function EntityStructureWrapper::refPropertyInfo in Entity API 7

Returns a reference on the property info.

If possible, use the property info alter callback for spotting metadata. The reference may be used to alter the property info for any remaining cases, e.g. if additional metadata has been asserted.

File

includes/entity.wrapper.inc, line 371
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 &refPropertyInfo() {
  return $this->propertyInfo;
}