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

Breadcrumb

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

function TopLevelDataInterface::getOmissions

Returns the data that was omitted from the JSON:API document.

Return value

\Drupal\jsonapi\JsonApiResource\OmittedData The omitted data.

2 methods override TopLevelDataInterface::getOmissions()
Relationship::getOmissions in core/modules/jsonapi/src/JsonApiResource/Relationship.php
Returns the data that was omitted from the JSON:API document.
ResourceObjectData::getOmissions in core/modules/jsonapi/src/JsonApiResource/ResourceObjectData.php
Gets only data to be omitted.

File

core/modules/jsonapi/src/JsonApiResource/TopLevelDataInterface.php, line 30

Class

TopLevelDataInterface
Interface for objects that can appear as top-level object data.

Namespace

Drupal\jsonapi\JsonApiResource

Code

public function getOmissions();

API Navigation

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