public function ResourceResponseInterface::getResponseData in Drupal 9
Same name and namespace in other branches
- 8 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();