You are here

protected function EntityListWrapper::getPropertyValue in Entity API 7

1 call to EntityListWrapper::getPropertyValue()
EntityListWrapper::getPropertyRaw in includes/entity.wrapper.inc

File

includes/entity.wrapper.inc, line 1052
Provides wrappers allowing easy usage of the entity metadata.

Class

EntityListWrapper
Wraps a list of values.

Code

protected function getPropertyValue($delta) {

  // Make use parent::value() to easily by-pass any entity-loading.
  $data = parent::value();
  if (isset($data[$delta])) {
    return $data[$delta];
  }
}