Skip to content
Snippets Groups Projects
Commit a27225c3 authored by Sean Madsen's avatar Sean Madsen Committed by GitHub
Browse files

Merge pull request #408 from kainuk/patch-1

Better to use the constant instead of the literal value
parents f790a058 490651ef
No related branches found
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.
Finish editing this message first!
Please register or to comment