You are here

function profile2_page_view in Profile 2 7

Same name and namespace in other branches
  1. 7.2 contrib/profile2_page.inc \profile2_page_view()

Profile view page.

1 string reference to 'profile2_page_view'
profile2_page_menu in contrib/profile2_page.module
Implements hook_menu().

File

contrib/profile2_page.inc, line 27
Adds separate pages for viewing and editing profiles.

Code

function profile2_page_view($profile) {
  return $profile
    ->view('page', NULL, TRUE);
}