projects
/
civicrm-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
57f3575
)
Clean up description for alterDisplayName hook
author
Matthew Wire
<mjw@mjwconsult.co.uk>
Thu, 13 Jan 2022 21:30:50 +0000
(21:30 +0000)
committer
Matthew Wire
<mjw@mjwconsult.co.uk>
Thu, 13 Jan 2022 21:31:04 +0000
(21:31 +0000)
CRM/Utils/Hook.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Utils/Hook.php
b/CRM/Utils/Hook.php
index 641e28c4e2ebc9ea6520a4edc538b7920d3563f8..a67f2a9efc751e4bc7550eb306192c09ca8a316f 100644
(file)
--- a/
CRM/Utils/Hook.php
+++ b/
CRM/Utils/Hook.php
@@
-2361,12
+2361,12
@@
abstract class CRM_Utils_Hook {
* Issue CRM-14276
* Add a hook for altering the display name
*
- * hook_civicrm_contact_get_displayname(&$display_name, $
objContact
)
+ * hook_civicrm_contact_get_displayname(&$display_name, $
contactId, $dao
)
*
* @param string $displayName
* @param int $contactId
- * @param
object
$dao
- *
The contact object
.
+ * @param
CRM_Core_DAO
$dao
+ *
A DAO object containing contact fields + primary email field as "email"
.
*
* @return mixed
*/