Function Hook_profiles_tabs_edit_profile->render_tab

Definitions

sources/hooks/systems/profiles_tabs_edit/profile.php

  • Render function for profile tabs edit hooks.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Return: array

Parameters

Name Type Default Set Range Description
$member_id_of MEMBER required parameter N/A N/A The ID of the member who is being viewed
$member_id_viewing MEMBER required parameter N/A N/A The ID of the member who is doing the viewing
$leave_to_ajax_if_possible boolean False N/A N/A Whether to leave the tab contents null, if this hook supports it, so that AJAX can load it later

Return

  • A tuple: The tab title, the tab body text (may be blank), the tab fields, extra JavaScript (may be blank) the suggested tab order, hidden fields (optional) (null: if $leave_to_ajax_if_possible was set), the icon
  • Type: ?array
  • Set: N/A
  • Range: N/A