function TopLevelDataInterface::getOmissions
Same name in other branches
- 9 core/modules/jsonapi/src/JsonApiResource/TopLevelDataInterface.php \Drupal\jsonapi\JsonApiResource\TopLevelDataInterface::getOmissions()
- 8.9.x core/modules/jsonapi/src/JsonApiResource/TopLevelDataInterface.php \Drupal\jsonapi\JsonApiResource\TopLevelDataInterface::getOmissions()
- 11.x core/modules/jsonapi/src/JsonApiResource/TopLevelDataInterface.php \Drupal\jsonapi\JsonApiResource\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\JsonApiResourceCode
public function getOmissions();
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.