function ResourceIdentifier::getMeta

Same name and namespace in other branches
  1. 8.9.x core/modules/jsonapi/src/JsonApiResource/ResourceIdentifier.php \Drupal\jsonapi\JsonApiResource\ResourceIdentifier::getMeta()
  2. 10 core/modules/jsonapi/src/JsonApiResource/ResourceIdentifier.php \Drupal\jsonapi\JsonApiResource\ResourceIdentifier::getMeta()
  3. 11.x core/modules/jsonapi/src/JsonApiResource/ResourceIdentifier.php \Drupal\jsonapi\JsonApiResource\ResourceIdentifier::getMeta()

Gets the resource identifier objects metadata.

Return value

array The metadata.

1 call to ResourceIdentifier::getMeta()
ResourceIdentifier::withArity in core/modules/jsonapi/src/JsonApiResource/ResourceIdentifier.php
Returns a copy of the given ResourceIdentifier with the given arity.

File

core/modules/jsonapi/src/JsonApiResource/ResourceIdentifier.php, line 166

Class

ResourceIdentifier
Represents a JSON:API resource identifier object.

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.