public function ItemList::offsetExists in Zircon Profile 8.0
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/TypedData/Plugin/DataType/ItemList.php \Drupal\Core\TypedData\Plugin\DataType\ItemList::offsetExists()
1 call to ItemList::offsetExists()
- CommentFieldItemList::offsetExists in core/
modules/ comment/ src/ CommentFieldItemList.php
1 method overrides ItemList::offsetExists()
- CommentFieldItemList::offsetExists in core/
modules/ comment/ src/ CommentFieldItemList.php
File
- core/
lib/ Drupal/ Core/ TypedData/ Plugin/ DataType/ ItemList.php, line 177 - Contains \Drupal\Core\TypedData\Plugin\DataType\ItemList.
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]);
}