An interface for typed data objects that can be traversed.
Hierarchy
- interface \Drupal\Core\TypedData\TypedDataInterface
- interface \Drupal\Core\TypedData\TraversableTypedDataInterface extends \Traversable
File
- core/lib/Drupal/Core/TypedData/TraversableTypedDataInterface.php, line 8
Namespace
Drupal\Core\TypedData
Members
Name | Modifiers | Type | Description |
---|---|---|---|
TraversableTypedDataInterface::onChange | public | function | React to changes to a child property or item. |
TypedDataInterface::applyDefaultValue | public | function | Applies the default value. |
TypedDataInterface::createInstance | public static | function | Constructs a TypedData object given its definition and context. |
TypedDataInterface::getConstraints | public | function | Gets a list of validation constraints. |
TypedDataInterface::getDataDefinition | public | function | Gets the data definition. |
TypedDataInterface::getName | public | function | Returns the name of a property or item. |
TypedDataInterface::getParent | public | function | Returns the parent data structure; i.e. either complex data or a list. |
TypedDataInterface::getPropertyPath | public | function | Returns the property path of the data. |
TypedDataInterface::getRoot | public | function | Returns the root of the typed data tree. |
TypedDataInterface::getString | public | function | Returns a string representation of the data. |
TypedDataInterface::getValue | public | function | Gets the data value. |
TypedDataInterface::setContext | public | function | Sets the context of a property or item via a context aware parent. |
TypedDataInterface::setValue | public | function | Sets the data value. |
TypedDataInterface::validate | public | function | Validates the currently set data value. |
Please login to continue.