On this page
function user_uri
user_uri($user)
Implements callback_entity_info_uri().
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,
);
}
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/modules!user!user.module/function/user_uri/7.x