You are here

public function TopLevelDataInterface::getMergedMeta in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/jsonapi/src/JsonApiResource/TopLevelDataInterface.php \Drupal\jsonapi\JsonApiResource\TopLevelDataInterface::getMergedMeta()
  2. 9 core/modules/jsonapi/src/JsonApiResource/TopLevelDataInterface.php \Drupal\jsonapi\JsonApiResource\TopLevelDataInterface::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.

File

core/modules/jsonapi/src/JsonApiResource/TopLevelDataInterface.php, line 52

Class

TopLevelDataInterface
Interface for objects that can appear as top-level object data.

Namespace

Drupal\jsonapi\JsonApiResource

Code

public function getMergedMeta(array $top_level_meta);