interface DataReferenceInterface (View source)

Interface for typed data references.

Methods

getTarget()

Gets the referenced data.

int|string|null
getTargetIdentifier()

Gets the identifier of the referenced data.

Details

TypedDataInterface|null getTarget()

Gets the referenced data.

Return Value

TypedDataInterface|null

The referenced typed data object, or NULL if the reference is unset.

int|string|null 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.