You are here

interface TraversableTypedDataInterface in Drupal 10

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/TypedData/TraversableTypedDataInterface.php \Drupal\Core\TypedData\TraversableTypedDataInterface
  2. 9 core/lib/Drupal/Core/TypedData/TraversableTypedDataInterface.php \Drupal\Core\TypedData\TraversableTypedDataInterface

An interface for typed data objects that can be traversed.

Hierarchy

Expanded class hierarchy of TraversableTypedDataInterface

All classes that implement TraversableTypedDataInterface

5 files declare their use of TraversableTypedDataInterface
ConfigMapperManager.php in core/modules/config_translation/src/ConfigMapperManager.php
ListElement.php in core/modules/config_translation/src/FormElement/ListElement.php
LocaleConfigManager.php in core/modules/locale/src/LocaleConfigManager.php
SchemaCheckTrait.php in core/lib/Drupal/Core/Config/Schema/SchemaCheckTrait.php
TypedConfigInterface.php in core/lib/Drupal/Core/Config/Schema/TypedConfigInterface.php

File

core/lib/Drupal/Core/TypedData/TraversableTypedDataInterface.php, line 8

Namespace

Drupal\Core\TypedData
View source
interface TraversableTypedDataInterface extends TypedDataInterface, \Traversable {

  /**
   * React to changes to a child property or item.
   *
   * Note that this is invoked after any changes have been applied.
   *
   * @param $name
   *   The name of the property or the delta of the list item which is changed.
   */
  public function onChange($name);

}

Members