public function Relationship::getOmissions in Drupal 8
Same name and namespace in other branches
- 9 core/modules/jsonapi/src/JsonApiResource/Relationship.php \Drupal\jsonapi\JsonApiResource\Relationship::getOmissions()
- 10 core/modules/jsonapi/src/JsonApiResource/Relationship.php \Drupal\jsonapi\JsonApiResource\Relationship::getOmissions()
Returns the data that was omitted from the JSON:API document.
Return value
\Drupal\jsonapi\JsonApiResource\OmittedData The omitted data.
Overrides TopLevelDataInterface::getOmissions
File
- core/
modules/ jsonapi/ src/ JsonApiResource/ Relationship.php, line 185
Class
- Relationship
- Represents references from one resource object to other resource object(s).
Namespace
Drupal\jsonapi\JsonApiResourceCode
public function getOmissions() {
return new OmittedData([]);
}