You are here

function notifications_user_name_callback in Notifications 7

Same name and namespace in other branches
  1. 6.4 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.

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);
}