public function ResourceResponse::getResponseData

Returns response data that should be serialized.

Return value

mixed Response data that should be serialized.

File

drupal/core/modules/rest/lib/Drupal/rest/ResourceResponse.php, line 50
Definition of Drupal\rest\ResourceResponse.

Class

ResourceResponse
Contains data for serialization before sending the response.

Namespace

Drupal\rest

Code

public function getResponseData() {
  return $this->responseData;
}