dev/core#1744 - Civi/API - Simplify event naming
[civicrm-core.git] / Civi / API / Provider / MagicFunctionProvider.php
index 8fab3ff19cabb41f1716b230bddae8b007147ea5..febcaa06226a4aa9c123874618526c47b6f643bf 100644 (file)
@@ -25,7 +25,7 @@ class MagicFunctionProvider implements EventSubscriberInterface, ProviderInterfa
    */
   public static function getSubscribedEvents() {
     return [
-      Events::RESOLVE => [
+      'civi.api.resolve' => [
         ['onApiResolve', Events::W_MIDDLE],
       ],
     ];