public function JsonApiDocumentTopLevel::getOmissions in Drupal 9
Same name and namespace in other branches
- 8 core/modules/jsonapi/src/JsonApiResource/JsonApiDocumentTopLevel.php \Drupal\jsonapi\JsonApiResource\JsonApiDocumentTopLevel::getOmissions()
- 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\JsonApiResourceCode
public function getOmissions() {
return $this->omissions;
}