public function TypedDataInterface::getParent in Drupal 10
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/TypedData/TypedDataInterface.php \Drupal\Core\TypedData\TypedDataInterface::getParent()
- 9 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.
1 method overrides TypedDataInterface::getParent()
- 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 124
Class
- TypedDataInterface
- Interface for typed data objects.
Namespace
Drupal\Core\TypedDataCode
public function getParent();