function ResourceResponse::getResponseData
Same name in other branches
- 9 core/modules/jsonapi/src/ResourceResponse.php \Drupal\jsonapi\ResourceResponse::getResponseData()
- 8.9.x core/modules/jsonapi/src/ResourceResponse.php \Drupal\jsonapi\ResourceResponse::getResponseData()
- 11.x 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;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.