api4 - Enable services
[civicrm-core.git] / Civi / Core / Container.php
index 0dfebb73ed9564e5496eacb80361c903e08a4475..805056456188bff234a10211371f26eb5bbb0244 100644 (file)
@@ -313,6 +313,7 @@ class Container {
     if (\CRM_Utils_Constant::value('CIVICRM_FLEXMAILER_HACK_SERVICES')) {
       \Civi\Core\Resolver::singleton()->call(CIVICRM_FLEXMAILER_HACK_SERVICES, [$container]);
     }
+    \CRM_Api4_Services::hook_container($container);
 
     \CRM_Utils_Hook::container($container);