Drupal 7 modules not ported to Drupal 9 yet
Currently there are a number of Drupal 7 modules that have not been ported to Drupal 9 as a - comes bundled with CiviCRM - code located within the CiviCRM codebase on install.
This can be seen by comparing https://github.com/civicrm/civicrm-drupal/tree/7.x-master/modules and https://github.com/civicrm/civicrm-drupal-8/tree/master/modules/
Now a number of these modules it doesn't make sense to run in D9: Views, CiviCRM OG Sync CiviCRM Engage and possibly others?
Some have a D9 module: CiviCRM Group Roles has been set up as a stand alone project https://www.drupal.org/project/civicrm_group_roles
CiviCRM Theme has been set up as part of the civicrm-drupal-8 codebase
CiviCRM Member Roles has been proposed as a PR to the drupal-8 repo but this has been stalled for a while now. https://github.com/civicrm/civicrm-drupal-8/pull/66
I feel like options for modules here are now:
-
A)
🍎 Set up as a stand alone project leave it to Site Builders/Maintainers as to whether to install or not. -
B)
🍌 Set up as a stand alone project but require as a dependency via composer so code gets installed when installing CiviCRM Do we have criteria for deciding which option in general? Do we have criteria for deciding which option should be applied in the case of CiviCRM Member Roles? -
C)
🥕 Include within the CiviCRM Drupal codebase via the civicrm/civicrm-drupal-8 project
Do we need a general criteria before deciding approach for CiviCRM Member Roles?
I think probably we would not want to use B unless we wanted something in a separate module that was required for the vast majority of installs of CiviCRM to run?
Given that there has been little appetite for CiviCRM Member Roles perhaps the approach is to split this into it's own module on the basis that most D9 sites to date are probably not using - therefore perhaps this code should not be required to be present on all CiviCRM installs.
However - we still have a lot of sites running D7 - and perhaps the sites that would use Member Roles are mainly running D7?