You are here

public function JsonapiHypermediaLinkCollectionNormalizer::setLinkProviderManager in JSON:API Hypermedia 8

Sets the link provider manager service.

Parameters

\Drupal\jsonapi_hypermedia\Plugin\LinkProviderManagerInterface $link_provider_manager: The link provider manager.

File

src/Normalizer/JsonapiHypermediaImpostor/JsonapiHypermediaLinkCollectionNormalizer.php, line 42

Class

JsonapiHypermediaLinkCollectionNormalizer
Class JsonApiHypermediaLinkCollectionNormalizer.

Namespace

Drupal\jsonapi\Normalizer\JsonapiHypermediaImpostor

Code

public function setLinkProviderManager(LinkProviderManagerInterface $link_provider_manager) {
  $this->linkProviderManager = $link_provider_manager;
}