function TraversableTypedDataInterface::onChange
Same name in other branches
- 9 core/lib/Drupal/Core/TypedData/TraversableTypedDataInterface.php \Drupal\Core\TypedData\TraversableTypedDataInterface::onChange()
- 10 core/lib/Drupal/Core/TypedData/TraversableTypedDataInterface.php \Drupal\Core\TypedData\TraversableTypedDataInterface::onChange()
- 11.x core/lib/Drupal/Core/TypedData/TraversableTypedDataInterface.php \Drupal\Core\TypedData\TraversableTypedDataInterface::onChange()
React to changes to a child property or item.
Note that this is invoked after any changes have been applied.
Parameters
$name: The name of the property or the delta of the list item which is changed.
4 methods override TraversableTypedDataInterface::onChange()
- ArrayElement::onChange in core/
lib/ Drupal/ Core/ Config/ Schema/ ArrayElement.php - React to changes to a child property or item.
- EntityAdapter::onChange in core/
lib/ Drupal/ Core/ Entity/ Plugin/ DataType/ EntityAdapter.php - React to changes to a child property or item.
- ItemList::onChange in core/
lib/ Drupal/ Core/ TypedData/ Plugin/ DataType/ ItemList.php - React to changes to a child property or item.
- Map::onChange in core/
lib/ Drupal/ Core/ TypedData/ Plugin/ DataType/ Map.php
File
-
core/
lib/ Drupal/ Core/ TypedData/ TraversableTypedDataInterface.php, line 18
Class
- TraversableTypedDataInterface
- An interface for typed data objects that can be traversed.
Namespace
Drupal\Core\TypedDataCode
public function onChange($name);
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.