You are here

public function TraversableTypedDataInterface::onChange in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 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.

5 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
TestComplexData::onChange in core/modules/serialization/tests/src/Unit/Normalizer/ComplexDataNormalizerTest.php
React to changes to a child property or item.

File

core/lib/Drupal/Core/TypedData/TraversableTypedDataInterface.php, line 23
Contains \Drupal\Core\TypedData\TraversableTypedDataInterface.

Class

TraversableTypedDataInterface
An interface for typed data objects that can be traversed.

Namespace

Drupal\Core\TypedData

Code

public function onChange($name);