blog_user_view(&$edit, &$user, $category)
drupal/modules/blog/blog.module, line 46
Implementation of hook_user_view().
function blog_user_view(&$edit, &$user, $category) {
if (user_access('create blog content', $user)) {
$user->content['summary']['blog'] = array(
'#type' => 'user_profile_item',
'#title' => t('Blog'),
'#markup' => l(t('View recent blog entries'), "blog/$user->uid", array('attributes' => array('title' => t("Read !username's latest blog entries.", array('!username' => $user->name))))),
'#attributes' => array('class' => 'blog'),
);
}
}