You are here

public function ResourceObjectData::getMergedMeta in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/jsonapi/src/JsonApiResource/ResourceObjectData.php \Drupal\jsonapi\JsonApiResource\ResourceObjectData::getMergedMeta()

Merges the object's meta member with the top-level meta member.

Parameters

array $top_level_meta: The top-level links to merge.

Return value

array The merged meta member.

Overrides TopLevelDataInterface::getMergedMeta

File

core/modules/jsonapi/src/JsonApiResource/ResourceObjectData.php, line 81

Class

ResourceObjectData
Represents the primary data for individual and collection documents.

Namespace

Drupal\jsonapi\JsonApiResource

Code

public function getMergedMeta(array $top_level_meta) {
  return $top_level_meta;
}