public function JsonApiDocumentTopLevel::getIncludes in Drupal 8
Same name and namespace in other branches
- 9 core/modules/jsonapi/src/JsonApiResource/JsonApiDocumentTopLevel.php \Drupal\jsonapi\JsonApiResource\JsonApiDocumentTopLevel::getIncludes()
- 10 core/modules/jsonapi/src/JsonApiResource/JsonApiDocumentTopLevel.php \Drupal\jsonapi\JsonApiResource\JsonApiDocumentTopLevel::getIncludes()
Gets a JSON:API Data object of resources to be included in the response.
Return value
\Drupal\jsonapi\JsonApiResource\IncludedData The includes.
File
- core/
modules/ jsonapi/ src/ JsonApiResource/ JsonApiDocumentTopLevel.php, line 117
Class
- JsonApiDocumentTopLevel
- Represents a JSON:API document's "top level".
Namespace
Drupal\jsonapi\JsonApiResourceCode
public function getIncludes() {
return $this->includes;
}