You are here

public function RelationshipItemNormalizerValue::rasterizeIncludes in JSON:API 8

Get the includes.

Return value

array[] An array of includes keyed by entity type and id pair.

Overrides ValueExtractorInterface::rasterizeIncludes

File

src/Normalizer/Value/RelationshipItemNormalizerValue.php, line 78

Class

RelationshipItemNormalizerValue
Helps normalize relationship items in compliance with the JSON API spec.

Namespace

Drupal\jsonapi\Normalizer\Value

Code

public function rasterizeIncludes() {
  return $this->include
    ->rasterizeValue();
}