function Relationship::getMeta

Same name in other branches
  1. 9 core/modules/jsonapi/src/JsonApiResource/Relationship.php \Drupal\jsonapi\JsonApiResource\Relationship::getMeta()
  2. 8.9.x core/modules/jsonapi/src/JsonApiResource/Relationship.php \Drupal\jsonapi\JsonApiResource\Relationship::getMeta()
  3. 11.x 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;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.