You are here

public function TypedDataInterface::getParent in Drupal 9

Same name and namespace in other branches
  1. 8 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\TypedData

Code

public function getParent();