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:
15a2851
)
Update Hook.php
author
Michael McAndrew
<michaelmcandrew@thirdsectordesign.org>
Thu, 7 Sep 2017 15:28:18 +0000
(16:28 +0100)
committer
GitHub
<noreply@github.com>
Thu, 7 Sep 2017 15:28:18 +0000
(16:28 +0100)
CRM/Utils/Hook.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Utils/Hook.php
b/CRM/Utils/Hook.php
index 100285f1c8c1699c7cfdcef0a1c43a816b660f62..61384e72aa63d95e6be0dca43780677b70c1c202 100644
(file)
--- a/
CRM/Utils/Hook.php
+++ b/
CRM/Utils/Hook.php
@@
-2133,7
+2133,7
@@
abstract class CRM_Utils_Hook {
*
* @code
* function example_civicrm_alterAngular($angular) {
- * $
angular->add(
\Civi\Angular\ChangeSetChangeSet::create('mychanges')
+ * $
changeSet =
\Civi\Angular\ChangeSetChangeSet::create('mychanges')
* ->alterHtml('~/crmMailing/EditMailingCtrl/2step.html', function(phpQueryObject $doc) {
* $doc->find('[ng-form="crmMailingSubform"]')->attr('cat-stevens', 'ts(\'wild world\')');
* })