function ItemList::offsetExists
Attributes
#[\ReturnTypeWillChange]
1 call to ItemList::offsetExists()
- CommentFieldItemList::offsetExists in core/
modules/ comment/ src/ CommentFieldItemList.php - #[\ReturnTypeWillChange]
1 method overrides ItemList::offsetExists()
- CommentFieldItemList::offsetExists in core/
modules/ comment/ src/ CommentFieldItemList.php - #[\ReturnTypeWillChange]
File
-
core/
lib/ Drupal/ Core/ TypedData/ Plugin/ DataType/ ItemList.php, line 171
Class
- ItemList
- A generic list class.
Namespace
Drupal\Core\TypedData\Plugin\DataTypeCode
public function offsetExists($offset) {
// We do not want to throw exceptions here, so we do not use get().
return isset($this->list[$offset]);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.