function ResourceResponseInterface::getResponseData

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

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