public function DataReferenceBase::getValue
public DataReferenceBase::getValue()
Gets the data value.
Return value
mixed
Overrides TypedData::getValue
File
- core/lib/Drupal/Core/TypedData/DataReferenceBase.php, line 36
Class
- DataReferenceBase
- Base class for typed data references.
Namespace
Drupal\Core\TypedDataCode
public function getValue() { if ($target = $this->getTarget()) { return $target->getValue(); } }
© 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::getValue/8.1.x