From: Coleman Watts Date: Fri, 3 Jun 2022 18:19:05 +0000 (-0400) Subject: Mixin - update version tags and add comment for new version of mgd-php X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=e443ab0c2845bc2e5ebe1816eb7752d8f54621bd;p=civicrm-core.git Mixin - update version tags and add comment for new version of mgd-php --- diff --git a/ext/afform/admin/info.xml b/ext/afform/admin/info.xml index bbe704461e..469b8c8f46 100644 --- a/ext/afform/admin/info.xml +++ b/ext/afform/admin/info.xml @@ -32,7 +32,7 @@ ang-php@1.0.0 menu-xml@1.0.0 - mgd-php@1.0.0 + mgd-php@1.1.0 afform-entity-php@1.0.0 diff --git a/ext/afform/core/info.xml b/ext/afform/core/info.xml index 5d2e887dea..fa76c03396 100644 --- a/ext/afform/core/info.xml +++ b/ext/afform/core/info.xml @@ -27,6 +27,6 @@ ang-php@1.0.0 - mgd-php@1.0.0 + mgd-php@1.1.0 diff --git a/ext/civicrm_admin_ui/info.xml b/ext/civicrm_admin_ui/info.xml index 4f0e065d60..d15d6920fb 100644 --- a/ext/civicrm_admin_ui/info.xml +++ b/ext/civicrm_admin_ui/info.xml @@ -33,6 +33,6 @@ crmCivicrmAdminUi - mgd-php@1.0.0 + mgd-php@1.1.0 diff --git a/ext/civigrant/info.xml b/ext/civigrant/info.xml index 7648d49449..02448a288b 100644 --- a/ext/civigrant/info.xml +++ b/ext/civigrant/info.xml @@ -30,7 +30,7 @@ CRM_Grant_Upgrader menu-xml@1.0.0 - mgd-php@1.0.0 + mgd-php@1.1.0 CRM/Grant diff --git a/ext/ewaysingle/info.xml b/ext/ewaysingle/info.xml index 1594acce5d..e6f3190ac9 100644 --- a/ext/ewaysingle/info.xml +++ b/ext/ewaysingle/info.xml @@ -28,7 +28,7 @@ - mgd-php@1.0.0 + mgd-php@1.1.0 CRM/Ewaysingle diff --git a/ext/payflowpro/info.xml b/ext/payflowpro/info.xml index e1239dcbca..2b733b6cc5 100644 --- a/ext/payflowpro/info.xml +++ b/ext/payflowpro/info.xml @@ -25,7 +25,7 @@ - mgd-php@1.0.0 + mgd-php@1.1.0 CRM/Payflowpro diff --git a/ext/search_kit/info.xml b/ext/search_kit/info.xml index 81dda50b82..2b73583eca 100644 --- a/ext/search_kit/info.xml +++ b/ext/search_kit/info.xml @@ -29,7 +29,7 @@ ang-php@1.0.0 menu-xml@1.0.0 - mgd-php@1.0.0 + mgd-php@1.1.0 CRM/Search diff --git a/mixin/mgd-php@1/mixin.php b/mixin/mgd-php@1/mixin.php index 026602e44c..990ed89061 100644 --- a/mixin/mgd-php@1/mixin.php +++ b/mixin/mgd-php@1/mixin.php @@ -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; }