X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=Civi%2FAPI%2FProvider%2FReflectionProvider.php;h=ac432b8fa310ce8b260e9ef9c602f83e3490fe33;hb=ca5fb3d15ba89ea5d6002735420f3e5238ebb4d5;hp=87b95bb18b725924c67b58d751ccc953b5ed6b78;hpb=8d557f6ba0ba874b4a8efe1018ec64a94427f34a;p=civicrm-core.git diff --git a/Civi/API/Provider/ReflectionProvider.php b/Civi/API/Provider/ReflectionProvider.php index 87b95bb18b..ac432b8fa3 100644 --- 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 [ - Events::RESOLVE => [ + 'civi.api.resolve' => [ // 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], ],