public function ResourceObject::getLinks in Drupal 9
Same name and namespace in other branches
- 8 core/modules/jsonapi/src/JsonApiResource/ResourceObject.php \Drupal\jsonapi\JsonApiResource\ResourceObject::getLinks()
Gets the ResourceObject's links.
Return value
\Drupal\jsonapi\JsonApiResource\LinkCollection The resource object's links.
File
- core/
modules/ jsonapi/ src/ JsonApiResource/ ResourceObject.php, line 162
Class
- ResourceObject
- Represents a JSON:API resource object.
Namespace
Drupal\jsonapi\JsonApiResourceCode
public function getLinks() {
return $this->links;
}