function user_uri

Entity URI callback.

File

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

Code

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