You are here

public function JsonApiDocumentTopLevel::getData in JSON:API 8

Gets the data.

Return value

\Drupal\Core\Entity\EntityInterface|\Drupal\jsonapi\EntityCollection The data.

File

src/Resource/JsonApiDocumentTopLevel.php, line 41

Class

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

Namespace

Drupal\jsonapi\Resource

Code

public function getData() {
  return $this->data;
}