You are here

public function ResponseSubscriber::setJsonapiInclude in JSON:API Include 8

Set jsonapi parse.

Parameters

\Drupal\jsonapi_include\JsonapiParseInterface $jsonapi_include: The parse interface.

File

src/EventSubscriber/ResponseSubscriber.php, line 65

Class

ResponseSubscriber
Class ResponseSubscriber.

Namespace

Drupal\jsonapi_include\EventSubscriber

Code

public function setJsonapiInclude(JsonapiParseInterface $jsonapi_include) {
  $this->jsonapiInclude = $jsonapi_include;
}