You are here

public function TraversableTypedDataInterface::onChange in Drupal 9

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

Code

public function onChange($name);