public function DataReferenceBase::getTarget
public DataReferenceBase::getTarget()
Gets the referenced data.
Return value
\Drupal\Core\TypedData\TypedDataInterface|null The referenced typed data object, or NULL if the reference is unset.
Overrides DataReferenceInterface::getTarget
File
- core/lib/Drupal/Core/TypedData/DataReferenceBase.php, line 29
Class
- DataReferenceBase
- Base class for typed data references.
Namespace
Drupal\Core\TypedDataCode
public function getTarget() { return $this->target; }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!TypedData!DataReferenceBase.php/function/DataReferenceBase::getTarget/8.1.x