public function ResourceObjectData::getMergedMeta in Drupal 8
Same name and namespace in other branches
- 9 core/modules/jsonapi/src/JsonApiResource/ResourceObjectData.php \Drupal\jsonapi\JsonApiResource\ResourceObjectData::getMergedMeta()
- 10 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\JsonApiResourceCode
public function getMergedMeta(array $top_level_meta) {
return $top_level_meta;
}