public function Map::onChange

Implements \Drupal\Core\TypedData\ComplexDataInterface::onChange().

Overrides ComplexDataInterface::onChange

1 method overrides Map::onChange()
FieldItemBase::onChange in drupal/core/lib/Drupal/Core/Entity/Field/FieldItemBase.php
Overrides \Drupal\Core\TypedData\Map::onChange().

File

drupal/core/lib/Drupal/Core/TypedData/Type/Map.php, line 227
Contains \Drupal\Core\TypedData\Type\Map.

Class

Map
The "map" data type.

Namespace

Drupal\Core\TypedData\Type

Code

public function onChange($property_name) {

  // Notify the parent of changes.
  if (isset($this->parent)) {
    $this->parent
      ->onChange($this->name);
  }
}