Relationship::$links

Same name in other branches
  1. 9 core/modules/jsonapi/src/JsonApiResource/Relationship.php \Drupal\jsonapi\JsonApiResource\Relationship::links
  2. 8.9.x core/modules/jsonapi/src/JsonApiResource/Relationship.php \Drupal\jsonapi\JsonApiResource\Relationship::links
  3. 11.x core/modules/jsonapi/src/JsonApiResource/Relationship.php \Drupal\jsonapi\JsonApiResource\Relationship::links

The relationship object's links.

Type: \Drupal\jsonapi\JsonApiResource\LinkCollection

File

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

Class

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

Namespace

Drupal\jsonapi\JsonApiResource

Code

protected $links;

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