public function ResourceResponse::getResponseData in Drupal 8
Same name and namespace in other branches
- 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 57
Class
- ResourceResponse
- Contains data for serialization before sending the response.
Namespace
Drupal\jsonapiCode
public function getResponseData() {
return $this->responseData;
}