You are here

public function ResourceResponseInterface::getResponseData in Drupal 9

Same name and namespace in other branches
  1. 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\rest

Code

public function getResponseData();