X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=Civi%2FAPI%2FSubscriber%2FAPIv3SchemaAdapter.php;h=fa15949348b48accce8a44a6436e7900d617fce9;hb=39b870b8909a488c58ab35e5ec4656e65e190a8a;hp=a2ebabd450009dc2824cffdb9af8c1f8ecbcee19;hpb=d5d00cdaa8c39337033351dc8364217d0cf3cdb8;p=civicrm-core.git diff --git a/Civi/API/Subscriber/APIv3SchemaAdapter.php b/Civi/API/Subscriber/APIv3SchemaAdapter.php index a2ebabd450..fa15949348 100644 --- a/Civi/API/Subscriber/APIv3SchemaAdapter.php +++ b/Civi/API/Subscriber/APIv3SchemaAdapter.php @@ -25,7 +25,7 @@ class APIv3SchemaAdapter implements EventSubscriberInterface { */ public static function getSubscribedEvents() { return [ - Events::PREPARE => [ + 'civi.api.prepare' => [ ['onApiPrepare', Events::W_MIDDLE], ['onApiPrepare_validate', Events::W_LATE], ],