public function ResourceResponseTrait::getResponseData in Drupal 9
Same name and namespace in other branches
- 8 core/modules/rest/src/ResourceResponseTrait.php \Drupal\rest\ResourceResponseTrait::getResponseData()
Returns response data that should be serialized.
Return value
mixed Response data that should be serialized.
File
- core/
modules/ rest/ src/ ResourceResponseTrait.php, line 20
Class
Namespace
Drupal\restCode
public function getResponseData() {
return $this->responseData;
}