function node_uri

7.x node.module node_uri($node)

Implements callback_entity_info_uri().

2 string references to 'node_uri'
hook_entity_info in drupal/modules/system/system.api.php
Inform the base system and the Field API about one or more entity types.
node_entity_info in drupal/modules/node/node.module
Implements hook_entity_info().

File

drupal/modules/node/node.module, line 249
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,
  );
}