W3cubDocs

/Drupal 8

public function TraversableTypedDataInterface::onChange

public TraversableTypedDataInterface::onChange($name)

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.

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);

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!TypedData!TraversableTypedDataInterface.php/function/TraversableTypedDataInterface::onChange/8.1.x