node_uri

7 node.module node_uri($node)
8 node.module node_uri(Node $node)

Entity uri callback.

2 string references to 'node_uri'

File

modules/node/node.module, line 247
The core that allows content to be submitted to the site. Modules and scripts may programmatically submit nodes using the usual form API pattern.

Code

function node_uri($node) {
  return array(
    'path' => 'node/' . $node->nid,
  );
}
Login or register to post comments