public function EntityMetadataArrayObject::offsetSet in Entity API 7
File
- includes/
entity.wrapper.inc, line 1268 - 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 offsetSet($delta, $value) {
$this->data[$delta] = $value;
}