function Link::getLinkRelationType
Gets the link's relation type.
Return value
string The link's relation type.
File
-
core/
modules/ jsonapi/ src/ JsonApiResource/ Link.php, line 114
Class
- Link
- Represents an RFC8288 based link.
Namespace
Drupal\jsonapi\JsonApiResourceCode
public function getLinkRelationType() {
return $this->rel;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.