ResourceResponseTrait::getResponseData

public ResourceResponseTrait::getResponseData() Returns response data that should be serialized. Return value mixed Response data that should be serialized. Overrides ResourceResponseInterface::getResponseData File core/modules/rest/src/ResourceResponseTrait.php, line 21 Class ResourceResponseTrait Namespace Drupal\rest Code public function getResponseData() { return $this->responseData; }

ResourceResponseTrait::$responseData

Response data that should be serialized. Type: mixed File core/modules/rest/src/ResourceResponseTrait.php, line 13 Class ResourceResponseTrait Namespace Drupal\rest Code protected $responseData;

ResourceResponseTrait

Hierarchy trait \Drupal\rest\ResourceResponseTrait File core/modules/rest/src/ResourceResponseTrait.php, line 6 Namespace Drupal\rest Members Name Modifiers Type Description ResourceResponseTrait::$responseData protected property Response data that should be serialized. ResourceResponseTrait::getResponseData public function Returns response data that should be serialized. Overrides ResourceResponseInterface::getResponseData

ResourceResponseInterface::getResponseData

public 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();

ResourceResponseInterface

Defines a common interface for resource responses. Hierarchy interface \Drupal\rest\ResourceResponseInterface File core/modules/rest/src/ResourceResponseInterface.php, line 8 Namespace Drupal\rest Members Name Modifiers Type Description ResourceResponseInterface::getResponseData public function Returns response data that should be serialized.

ResourceResponse::__construct

public ResourceResponse::__construct($data = NULL, $status = 200, $headers = array()) Constructor for ResourceResponse objects. Parameters mixed $data: Response data that should be serialized. int $status: The response status code. array $headers: An array of response headers. Overrides Response::__construct File core/modules/rest/src/ResourceResponse.php, line 34 Class ResourceResponse Contains data for serialization before sending the response. Namespace Drupal\rest Code public func

ResourceResponse

Contains data for serialization before sending the response. We do not want to abuse the $content property on the Response class to store our response data. $content implies that the provided data must either be a string or an object with a __toString() method, which is not a requirement for data used here. Hierarchy class \Symfony\Component\HttpFoundation\Responseclass \Drupal\rest\ResourceResponse implements CacheableResponseInterface, ResourceResponseInterface uses CacheableResponseTrait, Re

ResettableStackedRouteMatchInterface::resetRouteMatch

public ResettableStackedRouteMatchInterface::resetRouteMatch() Resets the route match static cache. The route match should only be statically cached once routing is finished. Any code that uses a route match during routing may be incorrectly assumed to be acting after routing has completed. This method gives that code the ability to fix the static cache. File core/lib/Drupal/Core/Routing/ResettableStackedRouteMatchInterface.php, line 21 Class ResettableStackedRouteMatchInterface Defines an

ResettableStackedRouteMatchInterface

Defines an interface for a resettable stack of route matches. @todo Move this method to \Drupal\Core\Routing\StackedRouteMatchInterface in https://www.drupal.org/node/2659952. Hierarchy interface \Drupal\Core\Routing\RouteMatchInterfaceinterface \Drupal\Core\Routing\StackedRouteMatchInterfaceinterface \Drupal\Core\Routing\ResettableStackedRouteMatchInterface File core/lib/Drupal/Core/Routing/ResettableStackedRouteMatchInterface.php, line 11 Namespace Drupal\Core\Routing Members Name

REQUIREMENT_WARNING

Requirement severity -- Warning condition; proceed but flag warning. File core/includes/install.inc, line 29 API functions for installing modules and themes. Code const REQUIREMENT_WARNING = 1;