function message_example_theme_username in Message 6
Helper function to theme a username.
Parameters
$account: A user object (or partial object that contains the user ID and user name) that will be used along with theme_username().
1 string reference to 'message_example_theme_username'
- message_example_flag in modules/
message_example/ message_example.module - Implementation of hook_flag().
File
- modules/
message_example/ message_example.module, line 195
Code
function message_example_theme_username($account) {
return theme('username', $account);
}