You are here

protected property Link::$attributes in Drupal 10

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

The link target attributes.

An associative array where the keys are the attribute keys and values are either string or an array of strings.

Type: string[]

File

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

Class

Link
Represents an RFC8288 based link.

Namespace

Drupal\jsonapi\JsonApiResource

Code

protected $attributes;