function DataReferenceInterface::getTarget
Same name in other branches
- 9 core/lib/Drupal/Core/TypedData/DataReferenceInterface.php \Drupal\Core\TypedData\DataReferenceInterface::getTarget()
- 8.9.x core/lib/Drupal/Core/TypedData/DataReferenceInterface.php \Drupal\Core\TypedData\DataReferenceInterface::getTarget()
- 10 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\TypedDataCode
public function getTarget();
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.