projects
/
civicrm-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Rename hook_civicrm_hooks to hook_civicrm_eventDefs
[civicrm-core.git]
/
Civi
/
Core
/
CiviEventInspector.php
diff --git
a/Civi/Core/CiviEventInspector.php
b/Civi/Core/CiviEventInspector.php
index 769d2f393d45294052b87bbe65f3467c06b9ff42..d5d3678607239cddd59dad6fe195526241317bba 100644
(file)
--- a/
Civi/Core/CiviEventInspector.php
+++ b/
Civi/Core/CiviEventInspector.php
@@
-22,7
+22,7
@@
class CiviEventInspector {
* Register the default hooks defined by 'CRM_Utils_Hook'.
*
* @param \Civi\Core\Event\GenericHookEvent $e
* Register the default hooks defined by 'CRM_Utils_Hook'.
*
* @param \Civi\Core\Event\GenericHookEvent $e
- * @see \CRM_Utils_Hook::
hook
s()
+ * @see \CRM_Utils_Hook::
eventDef
s()
*/
public static function findBuiltInEvents(\Civi\Core\Event\GenericHookEvent $e) {
$skipList = array('singleton');
*/
public static function findBuiltInEvents(\Civi\Core\Event\GenericHookEvent $e) {
$skipList = array('singleton');
@@
-49,7
+49,7
@@
class CiviEventInspector {
public function build($force = FALSE) {
if ($force || $this->eventDefs === NULL) {
$this->eventDefs = array();
public function build($force = FALSE) {
if ($force || $this->eventDefs === NULL) {
$this->eventDefs = array();
- \CRM_Utils_Hook::
hook
s($this);
+ \CRM_Utils_Hook::
eventDef
s($this);
ksort($this->eventDefs);
}
return $this;
ksort($this->eventDefs);
}
return $this;