public function DataReferenceInterface::getTargetIdentifier
public DataReferenceInterface::getTargetIdentifier()
Gets the identifier of the referenced data.
Return value
int|string|null The identifier of the referenced data, or NULL if the reference is unset.
File
- core/lib/Drupal/Core/TypedData/DataReferenceInterface.php, line 26
Class
- DataReferenceInterface
- Interface for typed data references.
Namespace
Drupal\Core\TypedDataCode
public function getTargetIdentifier();
© 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!DataReferenceInterface.php/function/DataReferenceInterface::getTargetIdentifier/8.1.x