projects
/
civicrm-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge pull request #17143 from mattwire/donthidedisabledmemberships
[civicrm-core.git]
/
Civi
/
API
/
Provider
/
ReflectionProvider.php
diff --git
a/Civi/API/Provider/ReflectionProvider.php
b/Civi/API/Provider/ReflectionProvider.php
index 87b95bb18b725924c67b58d751ccc953b5ed6b78..ac432b8fa310ce8b260e9ef9c602f83e3490fe33 100644
(file)
--- a/
Civi/API/Provider/ReflectionProvider.php
+++ b/
Civi/API/Provider/ReflectionProvider.php
@@
-24,11
+24,11
@@
class ReflectionProvider implements EventSubscriberInterface, ProviderInterface
*/
public static function getSubscribedEvents() {
return [
*/
public static function getSubscribedEvents() {
return [
-
Events::RESOLVE
=> [
+
'civi.api.resolve'
=> [
// TODO decide if we really want to override others
['onApiResolve', Events::W_EARLY],
],
// TODO decide if we really want to override others
['onApiResolve', Events::W_EARLY],
],
-
Events::AUTHORIZE
=> [
+
'civi.api.authorize'
=> [
// TODO decide if we really want to override others
['onApiAuthorize', Events::W_EARLY],
],
// TODO decide if we really want to override others
['onApiAuthorize', Events::W_EARLY],
],