public function ResourceResponse::getResponseData in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/rest/src/ResourceResponse.php \Drupal\rest\ResourceResponse::getResponseData()
Returns response data that should be serialized.
Return value
mixed Response data that should be serialized.
File
- core/
modules/ rest/ src/ ResourceResponse.php, line 54 - Contains \Drupal\rest\ResourceResponse.
Class
- ResourceResponse
- Contains data for serialization before sending the response.
Namespace
Drupal\restCode
public function getResponseData() {
return $this->responseData;
}