public function EntityMetadataWrapperIterator::current in Entity API 7
1 call to EntityMetadataWrapperIterator::current()
File
- includes/
entity.wrapper.inc, line 1215 - Provides wrappers allowing easy usage of the entity metadata.
Class
- EntityMetadataWrapperIterator
- Allows to easily iterate over existing child wrappers.
Code
public function current() {
return $this->wrapper
->get($this->keys[$this->position]);
}