You are here

protected property LinkCollection::$context in JSON:API 8.2

The link context.

All links objects exist within a context object. Links form a relationship between a source IRI and target IRI. A context is the link's source.

Type: \Drupal\jsonapi\JsonApiResource\JsonApiDocumentTopLevel|\Drupal\jsonapi\JsonApiResource\ResourceObject

See also

https://tools.ietf.org/html/rfc8288#section-3.2

File

src/JsonApiResource/LinkCollection.php, line 35

Class

LinkCollection
Contains a set of JSON:API Link objects.

Namespace

Drupal\jsonapi\JsonApiResource

Code

protected $context;