function DataReferenceInterface::getTarget

Same name in other branches
  1. 9 core/lib/Drupal/Core/TypedData/DataReferenceInterface.php \Drupal\Core\TypedData\DataReferenceInterface::getTarget()
  2. 10 core/lib/Drupal/Core/TypedData/DataReferenceInterface.php \Drupal\Core\TypedData\DataReferenceInterface::getTarget()
  3. 11.x core/lib/Drupal/Core/TypedData/DataReferenceInterface.php \Drupal\Core\TypedData\DataReferenceInterface::getTarget()

Gets the referenced data.

Return value

\Drupal\Core\TypedData\TypedDataInterface|null The referenced typed data object, or NULL if the reference is unset.

1 method overrides DataReferenceInterface::getTarget()
DataReferenceBase::getTarget in core/lib/Drupal/Core/TypedData/DataReferenceBase.php
Gets the referenced data.

File

core/lib/Drupal/Core/TypedData/DataReferenceInterface.php, line 18

Class

DataReferenceInterface
Interface for typed data references.

Namespace

Drupal\Core\TypedData

Code

public function getTarget();

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.