function ItemList::onChange
Same name in other branches
- 9 core/lib/Drupal/Core/TypedData/Plugin/DataType/ItemList.php \Drupal\Core\TypedData\Plugin\DataType\ItemList::onChange()
- 10 core/lib/Drupal/Core/TypedData/Plugin/DataType/ItemList.php \Drupal\Core\TypedData\Plugin\DataType\ItemList::onChange()
- 11.x core/lib/Drupal/Core/TypedData/Plugin/DataType/ItemList.php \Drupal\Core\TypedData\Plugin\DataType\ItemList::onChange()
Overrides TraversableTypedDataInterface::onChange
1 call to ItemList::onChange()
- ModerationStateFieldItemList::onChange in core/
modules/ content_moderation/ src/ Plugin/ Field/ ModerationStateFieldItemList.php - React to changes to a child property or item.
1 method overrides ItemList::onChange()
- ModerationStateFieldItemList::onChange in core/
modules/ content_moderation/ src/ Plugin/ Field/ ModerationStateFieldItemList.php - React to changes to a child property or item.
File
-
core/
lib/ Drupal/ Core/ TypedData/ Plugin/ DataType/ ItemList.php, line 290
Class
- ItemList
- A generic list class.
Namespace
Drupal\Core\TypedData\Plugin\DataTypeCode
public function onChange($delta) {
// Notify the parent of changes.
if (isset($this->parent)) {
$this->parent
->onChange($this->name);
}
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.