public function ServicesContextInterface::buildFromGlobals in Services 7.3
1 method overrides ServicesContextInterface::buildFromGlobals()
- ServicesContext::buildFromGlobals in servers/
rest_server/ includes/ ServicesContext.inc - Build all context data from global variables.
File
- servers/
rest_server/ includes/ ServicesContext.inc, line 9
Class
- ServicesContextInterface
- ServicesContext object is for storing all global variables. The idea is to prevent RESTServer from accessing global variables directly and get them only from Context.
Code
public function buildFromGlobals();