function ResourceResponseTrait::getResponseData

Same name in other branches
  1. 9 core/modules/rest/src/ResourceResponseTrait.php \Drupal\rest\ResourceResponseTrait::getResponseData()
  2. 10 core/modules/rest/src/ResourceResponseTrait.php \Drupal\rest\ResourceResponseTrait::getResponseData()
  3. 11.x 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;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.