You are here

function user_uri in Drupal 7

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
Enables the user registration and login system.

Code

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