You are here

public function Relationship::getItems in JSON:API 8

Gets the items.

Return value

\Drupal\jsonapi\Normalizer\RelationshipItem[] The relationship items.

File

src/Normalizer/Relationship.php, line 158

Class

Relationship
Represents a relationship between resources.

Namespace

Drupal\jsonapi\Normalizer

Code

public function getItems() {
  return $this->items;
}