function node_uri

Implements callback_entity_info_uri().

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

File

modules/node/node.module, line 249

Code

function node_uri($node) {
    return array(
        'path' => 'node/' . $node->nid,
    );
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.