You are here

public function LinkProviderManagerInterface::getLinkCollection in JSON:API Hypermedia 8

Gets a LinkCollection of 3rd-party links for the given context object.

Parameters

\Drupal\jsonapi\JsonApiResource\JsonApiDocumentTopLevel|\Drupal\jsonapi\JsonApiResource\ResourceObject|\Drupal\jsonapi\JsonApiResource\Relationship $context: The link context object.

Return value

\Drupal\jsonapi\JsonApiResource\LinkCollection The link collection.

1 method overrides LinkProviderManagerInterface::getLinkCollection()
LinkProviderManager::getLinkCollection in src/Plugin/LinkProviderManager.php
Gets a LinkCollection of 3rd-party links for the given context object.

File

src/Plugin/LinkProviderManagerInterface.php, line 28

Class

LinkProviderManagerInterface
Interface LinkProviderManagerInterface.

Namespace

Drupal\jsonapi_hypermedia\Plugin

Code

public function getLinkCollection($context);