You are here

protected property Link::$rel in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/jsonapi/src/JsonApiResource/Link.php \Drupal\jsonapi\JsonApiResource\Link::rel
  2. 10 core/modules/jsonapi/src/JsonApiResource/Link.php \Drupal\jsonapi\JsonApiResource\Link::rel

The link relation types.

@todo: change this type documentation to be a single string in https://www.drupal.org/project/drupal/issues/3080467.

Type: string[]

File

core/modules/jsonapi/src/JsonApiResource/Link.php, line 49

Class

Link
Represents an RFC8288 based link.

Namespace

Drupal\jsonapi\JsonApiResource

Code

protected $rel;