public function ResourceResponse::getResponseData in Drupal 10
Same name and namespace in other branches
- 8 core/modules/jsonapi/src/ResourceResponse.php \Drupal\jsonapi\ResourceResponse::getResponseData()
- 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\jsonapiCode
public function getResponseData() {
return $this->responseData;
}