function Relationship::getLinks
Same name in other branches
- 9 core/modules/jsonapi/src/JsonApiResource/Relationship.php \Drupal\jsonapi\JsonApiResource\Relationship::getLinks()
- 8.9.x core/modules/jsonapi/src/JsonApiResource/Relationship.php \Drupal\jsonapi\JsonApiResource\Relationship::getLinks()
- 10 core/modules/jsonapi/src/JsonApiResource/Relationship.php \Drupal\jsonapi\JsonApiResource\Relationship::getLinks()
Gets the relationship object's links.
Return value
\Drupal\jsonapi\JsonApiResource\LinkCollection The relationship object's links.
File
-
core/
modules/ jsonapi/ src/ JsonApiResource/ Relationship.php, line 168
Class
- Relationship
- Represents references from one resource object to other resource object(s).
Namespace
Drupal\jsonapi\JsonApiResourceCode
public function getLinks() {
return $this->links;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.