function _node_resource_retrieve in Services 7
Same name and namespace in other branches
- 6.3 resources/node_resource.inc \_node_resource_retrieve()
- 6.2 services/node_service/node_resource.inc \_node_resource_retrieve()
- 7.3 resources/node_resource.inc \_node_resource_retrieve()
1 string reference to '_node_resource_retrieve'
- node_resource_service_resource in services/
node_service/ node_resource.module
File
- services/
node_service/ node_resource.inc, line 3
Code
function _node_resource_retrieve($nid) {
$node = node_load($nid);
$node->uri = services_resource_uri(array(
'node',
$node->nid,
));
return $node;
}