public function NodeResourceFeedModelItem::getUrl in Services 7
Same name and namespace in other branches
- 6.3 servers/rest_server/includes/node_resource.models.inc \NodeResourceFeedModelItem::getUrl()
- 6.2 services/node_service/node_resource.models.inc \NodeResourceFeedModelItem::getUrl()
Returns the absolute url to the node
Return value
string The node url
File
- services/
node_service/ node_resource.models.inc, line 70
Class
Code
public function getUrl() {
return url('node/' . $this->node->nid, array(
'absolute' => TRUE,
));
}