You are here

public function ResourceResponse::getResponseData in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/jsonapi/src/ResourceResponse.php \Drupal\jsonapi\ResourceResponse::getResponseData()
  2. 9 core/modules/jsonapi/src/ResourceResponse.php \Drupal\jsonapi\ResourceResponse::getResponseData()

Returns response data that should be serialized.

Return value

mixed Response data that should be serialized.

File

core/modules/jsonapi/src/ResourceResponse.php, line 53

Class

ResourceResponse
Contains data for serialization before sending the response.

Namespace

Drupal\jsonapi

Code

public function getResponseData() {
  return $this->responseData;
}