public function EntityMetadataArrayObject::offsetGet in Entity API 7
Implements the ArrayAccess interface.
File
- includes/
entity.wrapper.inc, line 1260 - Provides wrappers allowing easy usage of the entity metadata.
Class
- EntityMetadataArrayObject
- An array object implementation keeping the reference on the given array so changes to the object are reflected in the passed array.
Code
public function offsetGet($delta) {
return $this->data[$delta];
}