public function EntityInterface::wrapper in Entity API 7
Returns the EntityMetadataWrapper of the entity.
Return value
EntityDrupalWrapper An EntityMetadataWrapper containing the entity.
1 method overrides EntityInterface::wrapper()
- Entity::wrapper in includes/
entity.inc - Returns the EntityMetadataWrapper of the entity.
File
- includes/
entity.inc, line 61 - Provides a base class for entities.
Class
- EntityInterface
- Interface for class based entities.
Code
public function wrapper();