You are here

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

Set the renderer.

Parameters

\Drupal\Core\Render\RendererInterface $renderer: The renderer service.

File

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

Class

JsonapiHypermediaLinkCollectionNormalizer
Class JsonApiHypermediaLinkCollectionNormalizer.

Namespace

Drupal\jsonapi\Normalizer\JsonapiHypermediaImpostor

Code

public function setRenderer(RendererInterface $renderer) {
  $this->renderer = $renderer;
}