You are here

public function Link::getTargetAttributes in JSON:API 8.2

Gets the link's target attributes.

Return value

string[] The link's target attributes.

File

src/JsonApiResource/Link.php, line 127

Class

Link
Represents an RFC8288 based link.

Namespace

Drupal\jsonapi\JsonApiResource

Code

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