function Link::getTargetAttributes

Same name in other branches
  1. 9 core/modules/jsonapi/src/JsonApiResource/Link.php \Drupal\jsonapi\JsonApiResource\Link::getTargetAttributes()
  2. 8.9.x core/modules/jsonapi/src/JsonApiResource/Link.php \Drupal\jsonapi\JsonApiResource\Link::getTargetAttributes()
  3. 10 core/modules/jsonapi/src/JsonApiResource/Link.php \Drupal\jsonapi\JsonApiResource\Link::getTargetAttributes()

Gets the link's target attributes.

Return value

string[] The link's target attributes.

File

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

Class

Link
Represents an RFC8288 based link.

Namespace

Drupal\jsonapi\JsonApiResource

Code

public function getTargetAttributes() {
    return $this->attributes;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.