You are here

public function ResourceResponseTrait::getResponseData in Drupal 9

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

ResourceResponseTrait

Namespace

Drupal\rest

Code

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