function profile2_view in Profile 2 7
Same name and namespace in other branches
- 7.2 profile2.module \profile2_view()
View a profile.
See also
File
- ./
profile2.module, line 1089 - Support for configurable user profiles.
Code
function profile2_view($profile, $view_mode = 'full', $langcode = NULL, $page = NULL) {
return $profile
->view($view_mode, $langcode, $page);
}