JsonApiDocumentTopLevel::$data

Same name in other branches
  1. 9 core/modules/jsonapi/src/JsonApiResource/JsonApiDocumentTopLevel.php \Drupal\jsonapi\JsonApiResource\JsonApiDocumentTopLevel::data
  2. 8.9.x core/modules/jsonapi/src/JsonApiResource/JsonApiDocumentTopLevel.php \Drupal\jsonapi\JsonApiResource\JsonApiDocumentTopLevel::data
  3. 10 core/modules/jsonapi/src/JsonApiResource/JsonApiDocumentTopLevel.php \Drupal\jsonapi\JsonApiResource\JsonApiDocumentTopLevel::data

The data to normalize.

Type: \Drupal\jsonapi\JsonApiResource\ResourceIdentifierInterface|\Drupal\jsonapi\JsonApiResource\Data|\Drupal\jsonapi\JsonApiResource\ErrorCollection|\Drupal\Core\Field\EntityReferenceFieldItemListInterface

File

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

Class

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

Namespace

Drupal\jsonapi\JsonApiResource

Code

protected $data;

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