public function EntityListWrapper::offsetUnset in Entity API 7
File
- includes/
entity.wrapper.inc, line 1145 - Provides wrappers allowing easy usage of the entity metadata.
Class
- EntityListWrapper
- Wraps a list of values.
Code
public function offsetUnset($delta) {
if ($this
->offsetExists($delta)) {
unset($this->data[$delta]);
$this
->set($this->data);
}
}