DataReferenceBase::getString

public DataReferenceBase::getString()

Returns a string representation of the data.

Return value

string

Overrides TypedData::getString

File

core/lib/Drupal/Core/TypedData/DataReferenceBase.php, line 56

Class

DataReferenceBase
Base class for typed data references.

Namespace

Drupal\Core\TypedData

Code

public function getString() {
  return (string) $this->getType() . ':' . $this->getTargetIdentifier();
}
doc_Drupal
2016-10-29 09:00:14
Comments
Leave a Comment

Please login to continue.