You are here

public function JsonApiDocumentTopLevel::getOmissions in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/jsonapi/src/JsonApiResource/JsonApiDocumentTopLevel.php \Drupal\jsonapi\JsonApiResource\JsonApiDocumentTopLevel::getOmissions()
  2. 9 core/modules/jsonapi/src/JsonApiResource/JsonApiDocumentTopLevel.php \Drupal\jsonapi\JsonApiResource\JsonApiDocumentTopLevel::getOmissions()

Gets an OmittedData instance containing resources to be omitted.

Return value

\Drupal\jsonapi\JsonApiResource\OmittedData The omissions.

File

core/modules/jsonapi/src/JsonApiResource/JsonApiDocumentTopLevel.php, line 127

Class

JsonApiDocumentTopLevel
Represents a JSON:API document's "top level".

Namespace

Drupal\jsonapi\JsonApiResource

Code

public function getOmissions() {
  return $this->omissions;
}