interface TraversableTypedDataInterface in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/lib/Drupal/Core/TypedData/TraversableTypedDataInterface.php \Drupal\Core\TypedData\TraversableTypedDataInterface
An interface for typed data objects that can be traversed.
Hierarchy
- interface \Drupal\Core\TypedData\TypedDataInterface
- interface \Drupal\Core\TypedData\TraversableTypedDataInterface extends \Drupal\Core\TypedData\Traversable
Expanded class hierarchy of TraversableTypedDataInterface
All classes that implement TraversableTypedDataInterface
6 files declare their use of TraversableTypedDataInterface
- ComplexDataNormalizerTest.php in core/
modules/ serialization/ tests/ src/ Unit/ Normalizer/ ComplexDataNormalizerTest.php - Contains \Drupal\Tests\serialization\Unit\Normalizer\ComplexDataNormalizerTest.
- ConfigMapperManager.php in core/
modules/ config_translation/ src/ ConfigMapperManager.php - Contains \Drupal\config_translation\ConfigMapperManager.
- ListElement.php in core/
modules/ config_translation/ src/ FormElement/ ListElement.php - Contains \Drupal\config_translation\FormElement\ListElement.
- LocaleConfigManager.php in core/
modules/ locale/ src/ LocaleConfigManager.php - Contains \Drupal\locale\LocaleConfigManager.
- SchemaCheckTrait.php in core/
lib/ Drupal/ Core/ Config/ Schema/ SchemaCheckTrait.php - Contains \Drupal\Core\Config\Schema\SchemaCheckTrait.
File
- core/
lib/ Drupal/ Core/ TypedData/ TraversableTypedDataInterface.php, line 13 - Contains \Drupal\Core\TypedData\TraversableTypedDataInterface.
Namespace
Drupal\Core\TypedDataView 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
Name![]() |
Modifiers | Type | Description | Overrides |
---|---|---|---|---|
TraversableTypedDataInterface:: |
public | function | React to changes to a child property or item. | 5 |
TypedDataInterface:: |
public | function | Applies the default value. | 2 |
TypedDataInterface:: |
public static | function | Constructs a TypedData object given its definition and context. | 2 |
TypedDataInterface:: |
public | function | Gets a list of validation constraints. | 2 |
TypedDataInterface:: |
public | function | Gets the data definition. | 2 |
TypedDataInterface:: |
public | function | Returns the name of a property or item. | 2 |
TypedDataInterface:: |
public | function | Returns the parent data structure; i.e. either complex data or a list. | 2 |
TypedDataInterface:: |
public | function | Returns the property path of the data. | 2 |
TypedDataInterface:: |
public | function | Returns the root of the typed data tree. | 2 |
TypedDataInterface:: |
public | function | Returns a string representation of the data. | 2 |
TypedDataInterface:: |
public | function | Gets the data value. | 2 |
TypedDataInterface:: |
public | function | Sets the context of a property or item via a context aware parent. | 2 |
TypedDataInterface:: |
public | function | Sets the data value. | 2 |
TypedDataInterface:: |
public | function | Validates the currently set data value. | 2 |