public function EntityMetadataWrapper::type in Entity API 7
Gets the (entity)type of the wrapped data.
1 method overrides EntityMetadataWrapper::type()
- EntityDrupalWrapper::type in includes/
entity.wrapper.inc - Overridden.
File
- includes/
entity.wrapper.inc, line 56 - Provides wrappers allowing easy usage of the entity metadata.
Class
- EntityMetadataWrapper
- A common base class for all wrappers.
Code
public function type() {
return $this->type;
}