ResourceObject::$links

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

The resource object's links.

Type: \Drupal\jsonapi\JsonApiResource\LinkCollection

File

core/modules/jsonapi/src/JsonApiResource/ResourceObject.php, line 61

Class

ResourceObject
Represents a JSON:API resource object.

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.