function ResourceResponseInterface::getResponseData
Same name in other branches
- 8.9.x core/modules/rest/src/ResourceResponseInterface.php \Drupal\rest\ResourceResponseInterface::getResponseData()
- 10 core/modules/rest/src/ResourceResponseInterface.php \Drupal\rest\ResourceResponseInterface::getResponseData()
- 11.x core/modules/rest/src/ResourceResponseInterface.php \Drupal\rest\ResourceResponseInterface::getResponseData()
Returns response data that should be serialized.
Return value
mixed Response data that should be serialized.
File
-
core/
modules/ rest/ src/ ResourceResponseInterface.php, line 16
Class
- ResourceResponseInterface
- Defines a common interface for resource responses.
Namespace
Drupal\restCode
public function getResponseData();
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.