Issue #2008616 by lokapujya, herom, kgoel | andypost: Convert user_uri() to $user->uri().

8.0.x
Alex Pott 2014-07-10 11:19:11 +01:00
parent c67946065c
commit aa5bf1b88e
2 changed files with 0 additions and 10 deletions

View File

@ -37,7 +37,6 @@ use Drupal\user\UserInterface;
* },
* admin_permission = "administer user",
* base_table = "users",
* uri_callback = "user_uri",
* label_callback = "user_format_name",
* fieldable = TRUE,
* translatable = TRUE,

View File

@ -140,15 +140,6 @@ function user_js_alter(&$javascript) {
);
}
/**
* Entity URI callback.
*/
function user_uri($user) {
return new Url('user.view', array(
'user' => $user->id(),
));
}
/**
* Populates $entity->account for each prepared entity.
*