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