diff --git a/docs/hooks/hook_civicrm_summary.md b/docs/hooks/hook_civicrm_summary.md index c203e97bf7d025de01a434bed71a2e1daea2e294..6001b7627c10ee67fddc165716d3186548b835b5 100644 --- a/docs/hooks/hook_civicrm_summary.md +++ b/docs/hooks/hook_civicrm_summary.md @@ -22,7 +22,7 @@ This hook is called when the contact summary is rendered, allowing you to modify function civitest_civicrm_summary( $contactID, &$content, &$contentPlacement ) { // REPLACE default Contact Summary with your customized content - $contentPlacement = 3; + $contentPlacement = CRM_Utils_Hook::SUMMARY_REPLACE; $content = " <table> <tr><th>Hook Data</th></tr> @@ -31,4 +31,4 @@ This hook is called when the contact summary is rendered, allowing you to modify </table> "; - } \ No newline at end of file + }