Skip to content
Snippets Groups Projects
Commit 490651ef authored by kainuk's avatar kainuk Committed by GitHub
Browse files

Better to use the constant instead of the literal value

parent f790a058
Branches
No related tags found
No related merge requests found
......@@ -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
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment