Mixin - update version tags and add comment for new version of mgd-php
authorColeman Watts <coleman@civicrm.org>
Fri, 3 Jun 2022 18:19:05 +0000 (14:19 -0400)
committerColeman Watts <coleman@civicrm.org>
Fri, 3 Jun 2022 18:19:05 +0000 (14:19 -0400)
ext/afform/admin/info.xml
ext/afform/core/info.xml
ext/civicrm_admin_ui/info.xml
ext/civigrant/info.xml
ext/ewaysingle/info.xml
ext/payflowpro/info.xml
ext/search_kit/info.xml
mixin/mgd-php@1/mixin.php

index bbe704461e19b33614953e87974e4fcf6bee9797..469b8c8f46089e5c15eac6d17362ff020fc749e6 100644 (file)
@@ -32,7 +32,7 @@
   <mixins>
     <mixin>ang-php@1.0.0</mixin>
     <mixin>menu-xml@1.0.0</mixin>
-    <mixin>mgd-php@1.0.0</mixin>
+    <mixin>mgd-php@1.1.0</mixin>
     <mixin>afform-entity-php@1.0.0</mixin>
   </mixins>
 </extension>
index 5d2e887dea86d7fa3d9772be73dddc62300065cd..fa76c03396eb40468623ff6444feb5b01e414e3f 100644 (file)
@@ -27,6 +27,6 @@
   </classloader>
   <mixins>
     <mixin>ang-php@1.0.0</mixin>
-    <mixin>mgd-php@1.0.0</mixin>
+    <mixin>mgd-php@1.1.0</mixin>
   </mixins>
 </extension>
index 4f0e065d60d7040f68056961f2d8778498bcd7a6..d15d6920fb0c9f5d9432a1e6a0d1ec5d56f057ae 100644 (file)
@@ -33,6 +33,6 @@
     <angularModule>crmCivicrmAdminUi</angularModule>
   </civix>
   <mixins>
-    <mixin>mgd-php@1.0.0</mixin>
+    <mixin>mgd-php@1.1.0</mixin>
   </mixins>
 </extension>
index 7648d4944976d2b10570d8f962ccd169808074c1..02448a288bd46f01e9b033dc698f2da6aa4de043 100644 (file)
@@ -30,7 +30,7 @@
   <upgrader>CRM_Grant_Upgrader</upgrader>
   <mixins>
     <mixin>menu-xml@1.0.0</mixin>
-    <mixin>mgd-php@1.0.0</mixin>
+    <mixin>mgd-php@1.1.0</mixin>
   </mixins>
   <civix>
     <namespace>CRM/Grant</namespace>
index 1594acce5d00adcc59748a8517ad0ab2d6a12758..e6f3190ac9bee3a06a96b45dba255b746b5d72c6 100644 (file)
@@ -28,7 +28,7 @@
     <psr4 prefix="Civi\" path="Civi"/>
   </classloader>
   <mixins>
-    <mixin>mgd-php@1.0.0</mixin>
+    <mixin>mgd-php@1.1.0</mixin>
   </mixins>
   <civix>
     <namespace>CRM/Ewaysingle</namespace>
index e1239dcbcaa48a9abe88069ca53eec8d5380cd26..2b733b6cc509e68fc0cbeb32cfc40e8baa30329b 100644 (file)
@@ -25,7 +25,7 @@
     <psr4 prefix="Civi\" path="Civi"/>
   </classloader>
   <mixins>
-    <mixin>mgd-php@1.0.0</mixin>
+    <mixin>mgd-php@1.1.0</mixin>
   </mixins>
   <civix>
     <namespace>CRM/Payflowpro</namespace>
index 81dda50b82c1a36e78dbd938d6be606c7129caa9..2b73583ecab3d5c213a0b8a11de07a1348f5bcf9 100644 (file)
@@ -29,7 +29,7 @@
   <mixins>
     <mixin>ang-php@1.0.0</mixin>
     <mixin>menu-xml@1.0.0</mixin>
-    <mixin>mgd-php@1.0.0</mixin>
+    <mixin>mgd-php@1.1.0</mixin>
   </mixins>
   <civix>
     <namespace>CRM/Search</namespace>
index 026602e44cd8f1cccd736bb62a89338e50e100a3..990ed89061499b8ad83831359f26fca86d03c3d2 100644 (file)
@@ -24,6 +24,8 @@ return function ($mixInfo, $bootCache) {
       return;
     }
 
+    // Optimization: if managed entities were requested for specific module(s),
+    // check name and return early if not applicable.
     if (is_array($event->modules) && !in_array($mixInfo->longName, $event->modules, TRUE)) {
       return;
     }