Skip to content
Snippets Groups Projects
Unverified Commit 3683a9a8 authored by ayduns's avatar ayduns Committed by GitHub
Browse files

Update hook_civicrm_contact_get_displayname.md

Fix typo
parent 2f081285
No related branches found
No related tags found
No related merge requests found
...@@ -16,7 +16,7 @@ don't want to store this in the database. ...@@ -16,7 +16,7 @@ don't want to store this in the database.
## Parameters ## Parameters
- &$disply_name - the current display name, you can change the - &$display_name - the current display name, you can change the
display name by changing the contents of this parameter display name by changing the contents of this parameter
- $contactId - Contact ID - $contactId - Contact ID
- $objContact - The contact BAO - $objContact - The contact BAO
...@@ -31,4 +31,4 @@ Below an example of showing the contact ID after the display name ...@@ -31,4 +31,4 @@ Below an example of showing the contact ID after the display name
function myextension_civicrm_contact_get_displayname(&$display_name, $contactId, $objContact) { function myextension_civicrm_contact_get_displayname(&$display_name, $contactId, $objContact) {
$display_name = $display_name . ' - '.$contactId; $display_name = $display_name . ' - '.$contactId;
} }
\ 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