function JsonApiDocumentTopLevel::getLinks
Same name in other branches
- 9 core/modules/jsonapi/src/JsonApiResource/JsonApiDocumentTopLevel.php \Drupal\jsonapi\JsonApiResource\JsonApiDocumentTopLevel::getLinks()
- 10 core/modules/jsonapi/src/JsonApiResource/JsonApiDocumentTopLevel.php \Drupal\jsonapi\JsonApiResource\JsonApiDocumentTopLevel::getLinks()
- 11.x core/modules/jsonapi/src/JsonApiResource/JsonApiDocumentTopLevel.php \Drupal\jsonapi\JsonApiResource\JsonApiDocumentTopLevel::getLinks()
Gets the links.
Return value
\Drupal\jsonapi\JsonApiResource\LinkCollection The top-level links.
File
-
core/
modules/ jsonapi/ src/ JsonApiResource/ JsonApiDocumentTopLevel.php, line 97
Class
- JsonApiDocumentTopLevel
- Represents a JSON:API document's "top level".
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.