function node_uri

cis7 node.module node_uri($node)
cle7 node.module node_uri($node)
elmsmedia7 node.module node_uri($node)
icor7 node.module node_uri($node)
meedjum_blog7 node.module node_uri($node)
mooc7 node.module node_uri($node)

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
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,
  );
}
Error | ELMSLN API

Error

×

Error message

  • Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/elmsln_community/api.elmsln.org/includes/common.inc:2791) in drupal_send_headers() (line 1499 of /var/www/html/elmsln_community/api.elmsln.org/includes/bootstrap.inc).
  • Error: Call to undefined function apc_delete() in DrupalAPCCache->clear() (line 289 of /var/www/html/elmsln_community/api.elmsln.org/sites/all/modules/apc/drupal_apc_cache.inc).
The website encountered an unexpected error. Please try again later.