public function ResourceObject::getLinks in JSON:API 8.2
Gets the ResourceObject's links.
Return value
\Drupal\jsonapi\JsonApiResource\LinkCollection The resource object's links.
File
- src/
JsonApiResource/ ResourceObject.php, line 161
Class
- ResourceObject
- Represents a JSON:API resource object.
Namespace
Drupal\jsonapi\JsonApiResourceCode
public function getLinks() {
return $this->links;
}