You are here

public function Relationship::getMeta in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/jsonapi/src/JsonApiResource/Relationship.php \Drupal\jsonapi\JsonApiResource\Relationship::getMeta()
  2. 10 core/modules/jsonapi/src/JsonApiResource/Relationship.php \Drupal\jsonapi\JsonApiResource\Relationship::getMeta()

Gets the relationship object's metadata.

Return value

array The relationship object's metadata.

1 call to Relationship::getMeta()
Relationship::getMergedMeta in core/modules/jsonapi/src/JsonApiResource/Relationship.php
Merges the object's meta member with the top-level meta member.

File

core/modules/jsonapi/src/JsonApiResource/Relationship.php, line 178

Class

Relationship
Represents references from one resource object to other resource object(s).

Namespace

Drupal\jsonapi\JsonApiResource

Code

public function getMeta() {
  return $this->meta;
}