function notifications_user_name_callback in Notifications 6.4
Same name and namespace in other branches
- 7 includes/user.inc \notifications_user_name_callback()
Wrapper for author autocomplete callback.
Parameters
$uid: uid of the user for which to return the name.
$subs_type: Optional type of subscription for which to find allowed content types. Defaults to nodetype, can be any subscription type with event-type=node for which notifications_content handles content type settings.
1 string reference to 'notifications_user_name_callback'
- notifications_notifications in ./
notifications.module - Implementation of hook_notifications()
File
- includes/
user.inc, line 19 - Notifications node API for use by plug-in modules providing user related features
Code
function notifications_user_name_callback($uid, $subs_type = '') {
return messaging_user_format_name($uid);
}