Relationship::$data

The data of the relationship object.

Type: \Drupal\jsonapi\JsonApiResource\RelationshipData

File

core/modules/jsonapi/src/JsonApiResource/Relationship.php, line 48

Class

Relationship
Represents references from one resource object to other resource object(s).

Namespace

Drupal\jsonapi\JsonApiResource

Code

protected $data;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.