From 490651ef5ff95d338bd884ea5ab1095d3d06dba4 Mon Sep 17 00:00:00 2001
From: kainuk <klaas@kainuk.nl>
Date: Mon, 9 Oct 2017 13:46:09 +0200
Subject: [PATCH] Better to use the constant instead of the literal value

---
 docs/hooks/hook_civicrm_summary.md | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/docs/hooks/hook_civicrm_summary.md b/docs/hooks/hook_civicrm_summary.md
index c203e97b..6001b762 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
+    }
-- 
GitLab