function me_user_categories in me aliases 7
Same name and namespace in other branches
- 8 me.module \me_user_categories()
Implements hook_user_categories().
File
- ./
me.module, line 683 - Provides 'me' aliases to allow users to enter 'me' in common paths instead of their user id.
Code
function me_user_categories() {
if (me_variable_get('me_user_override')) {
return array(
array(
'name' => 'me',
'title' => t("'@me' alias", array(
'@me' => _me_get_me_alias(TRUE),
)),
'weight' => 2,
),
);
}
}