- Issue created by @mathilde_dumond
- Status changed to Needs review
about 1 year ago 12:32pm 21 September 2023 - Status changed to Needs work
about 1 year ago 12:50pm 21 September 2023 - 🇨🇭Switzerland berdir Switzerland
+++ b/src/Controller/OpignoGroupManagerController.php @@ -955,6 +969,9 @@ class OpignoGroupManagerController extends ControllerBase { $moxtra_status = $this->moduleHandler->moduleExists('opigno_moxtra') && _opigno_moxtra_get_organization_status(); + // Check if ILT is enabled. + $plugin_ids = $this->pluginManagerGroupContentEnabler->getInstalledIds($group->getGroupType()); + $ILT_status = in_array('opigno_ilt_group', $plugin_ids); // For each content type available,
don't hardcode the id. you can find it in the plugin definition ($contnet_type_definition), then this will work for any type.
so get the list of enabled ids and in the loop do the in_array() check.
- Status changed to Needs review
about 1 year ago 6:46am 22 September 2023