public function Link::getLinkRelationTypes in JSON:API 8.2
Gets the link's relation types.
Return value
string[] The link's relation types.
File
- src/
JsonApiResource/ Link.php, line 117
Class
- Link
- Represents an RFC8288 based link.
Namespace
Drupal\jsonapi\JsonApiResourceCode
public function getLinkRelationTypes() {
return $this->rel;
}