You are here

function profile2_diff_diffs_overview in Profile 2 7.2

Generate an overview table of older revisions of a profile and provide an input form to select two revisions for a comparison.

1 call to profile2_diff_diffs_overview()
profile2_diff_diffs_overview_user in contrib/profile2_diff.pages.inc
1 string reference to 'profile2_diff_diffs_overview'
profile2_page_menu in contrib/profile2_page.module
Implements hook_menu().

File

contrib/profile2_diff.pages.inc, line 37
Menu callbacks for hook_menu().

Code

function profile2_diff_diffs_overview($profile) {
  drupal_set_title(t('Revisions for @title', array(
    '@title' => $profile
      ->label(),
  )));
  return drupal_get_form('profile2_diff_profile2_revisions', $profile);
}