function 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;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.