Error message

You are browsing documentation for drupal 7.x, which is not supported anymore. Read the updated version of this page for drupal 11.x (the latest version).

function user_uri

Implements callback_entity_info_uri().

1 string reference to 'user_uri'
user_entity_info in modules/user/user.module
Implements hook_entity_info().

File

modules/user/user.module, line 192

Code

function user_uri ($user) {
 return array(
 'path' => 'user/' . $user->uid,
 );
}

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