Use entity-types-php mixin for SearchKit
authorColeman Watts <coleman@civicrm.org>
Fri, 18 Nov 2022 01:03:16 +0000 (20:03 -0500)
committerColeman Watts <coleman@civicrm.org>
Fri, 18 Nov 2022 01:03:16 +0000 (20:03 -0500)
ext/search_kit/info.xml
ext/search_kit/search_kit.php

index c08626753d84fc5b040540ae27d8e88c14aad31e..ad45f04b2a02232d96cf8d2753474a796141a033 100644 (file)
@@ -31,6 +31,7 @@
     <mixin>scan-classes@1.0.0</mixin>
     <mixin>menu-xml@1.0.0</mixin>
     <mixin>mgd-php@1.0.0</mixin>
+    <mixin>entity-types-php@1.0.0</mixin>
   </mixins>
   <civix>
     <namespace>CRM/Search</namespace>
index c098cda2fe2402f4a7879bbc910c7486c41efd3e..9639051bd2078b613665d1d2cb5f9e022d9edc1f 100644 (file)
@@ -81,17 +81,6 @@ function search_kit_civicrm_angularModules(&$angularModules) {
   }
 }
 
-/**
- * Implements hook_civicrm_entityTypes().
- *
- * Declare entity types provided by this module.
- *
- * @link https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_entityTypes
- */
-function search_kit_civicrm_entityTypes(&$entityTypes) {
-  _search_kit_civix_civicrm_entityTypes($entityTypes);
-}
-
 /**
  * Implements hook_civicrm_pre().
  */