LinkCollection::$links

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

The links in the collection, keyed by unique strings.

Type: \Drupal\jsonapi\JsonApiResource\Link[]

File

core/modules/jsonapi/src/JsonApiResource/LinkCollection.php, line 23

Class

LinkCollection
Contains a set of JSON:API Link objects.

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.