function JsonApiDocumentTopLevel::getOmissions

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

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