Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. TopLevelDataInterface.php

function 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.

2 methods override TopLevelDataInterface::getMergedMeta()
Relationship::getMergedMeta in core/modules/jsonapi/src/JsonApiResource/Relationship.php
Merges the object's meta member with the top-level meta member.
ResourceObjectData::getMergedMeta in core/modules/jsonapi/src/JsonApiResource/ResourceObjectData.php
Merges the object's meta member with the top-level 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);

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal