public function TypedDataInterface::getParent in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/lib/Drupal/Core/TypedData/TypedDataInterface.php \Drupal\Core\TypedData\TypedDataInterface::getParent()
Returns the parent data structure; i.e. either complex data or a list.
Return value
\Drupal\Core\TypedData\TraversableTypedDataInterface|null The parent data structure, either complex data or a list; or NULL if this is the root of the typed data tree.
2 methods override TypedDataInterface::getParent()
- TestComplexData::getParent in core/
modules/ serialization/ tests/ src/ Unit/ Normalizer/ ComplexDataNormalizerTest.php - Returns the parent data structure; i.e. either complex data or a list.
- TypedData::getParent in core/
lib/ Drupal/ Core/ TypedData/ TypedData.php - Returns the parent data structure; i.e. either complex data or a list.
File
- core/
lib/ Drupal/ Core/ TypedData/ TypedDataInterface.php, line 129 - Contains \Drupal\Core\TypedData\TypedDataInterface.
Class
- TypedDataInterface
- Interface for typed data objects.
Namespace
Drupal\Core\TypedDataCode
public function getParent();