You are here

public function EntityMetadataWrapper::__toString in Entity API 7

File

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

Class

EntityMetadataWrapper
A common base class for all wrappers.

Code

public function __toString() {
  return isset($this->info) ? 'Property ' . $this->info['name'] : $this->type;
}