Relationship::$data

Same name in other branches
  1. 8.9.x core/modules/jsonapi/src/JsonApiResource/Relationship.php \Drupal\jsonapi\JsonApiResource\Relationship::data
  2. 10 core/modules/jsonapi/src/JsonApiResource/Relationship.php \Drupal\jsonapi\JsonApiResource\Relationship::data
  3. 11.x core/modules/jsonapi/src/JsonApiResource/Relationship.php \Drupal\jsonapi\JsonApiResource\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.