function user_uri

Entity URI callback.

File

drupal/core/modules/user/user.module, line 117
Enables the user registration and login system.

Code

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