From: Tim Otten Date: Tue, 15 Mar 2022 20:44:36 +0000 (-0700) Subject: Search Kit - Auto-enable during normal installation X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=ea24d94a8b4ce29d0868dc3b6f9ee30c6a564b77;p=civicrm-core.git Search Kit - Auto-enable during normal installation --- diff --git a/setup/plugins/init/DefaultExtensions.civi-setup.php b/setup/plugins/init/DefaultExtensions.civi-setup.php new file mode 100644 index 0000000000..f3498da0f0 --- /dev/null +++ b/setup/plugins/init/DefaultExtensions.civi-setup.php @@ -0,0 +1,22 @@ +addListener('civi.setup.init', function (\Civi\Setup\Event\InitEvent $e) { + \Civi\Setup::log()->info(sprintf('[%s] Handle %s', basename(__FILE__), 'init')); + + // Activate some extensions during installation. + $e->getModel()->extensions[] = 'org.civicrm.search_kit'; + + });