public function TestComplexData::onChange in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/serialization/tests/src/Unit/Normalizer/ComplexDataNormalizerTest.php \Drupal\Tests\serialization\Unit\Normalizer\TestComplexData::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.
Overrides TraversableTypedDataInterface::onChange
File
- core/
modules/ serialization/ tests/ src/ Unit/ Normalizer/ ComplexDataNormalizerTest.php, line 128 - Contains \Drupal\Tests\serialization\Unit\Normalizer\ComplexDataNormalizerTest.
Class
- TestComplexData
- Test class implementing ComplexDataInterface and IteratorAggregate.
Namespace
Drupal\Tests\serialization\Unit\NormalizerCode
public function onChange($name) {
}