function ComputedItemListTrait::offsetExists

Attributes

#[\ReturnTypeWillChange]

File

core/lib/Drupal/Core/TypedData/ComputedItemListTrait.php, line 121

Class

ComputedItemListTrait
Provides common functionality for computed item lists.

Namespace

Drupal\Core\TypedData

Code

public function offsetExists($offset) {
  $this->ensureComputedValue();
  return parent::offsetExists($offset);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.