Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
General ticket for basic Drupal 8 support in hosting_civicrm (even though D8 is not yet officially supported by CiviCRM, but this is greatly a chicken and egg problem.. let's do our part).
Comments
Comment #3
bgm CreditAttribution: bgm at Coop SymbioTIC commentedIt seems to now work. I had to patch civicrm-drupal/civicrm.install so that we can install CiviCRM in the modules directory.
If you feel like testing, you can use the makefiles in the "drush/provision_civicrm_tests/makes" directory:
https://github.com/mlutfy/hosting_civicrm/blob/7.x-3.x/drush/provision_c...
Tech notes:
The code says that the CiviCRM code directory must be installed in the "libraries" directory, but I could not find why, or what breaks. I asked on the forum here: https://forum.civicrm.org/index.php?topic=37069.0
If we can install in "modules", it makes it easier for hosting_civicrm, because of the code that finds where the civicrm code base is located. It also makes more sense from the point of view of the platform, i.e. when we go in the Aegir UI, and look at packages, CiviCRM doesn't show up if it's not installed in the modules directory.
Does anyone familiar with Drupal 8 have any advice on this?
Comment #4
bgm CreditAttribution: bgm at Coop SymbioTIC commentedDirectory issue is now fixed upstream: https://github.com/civicrm/civicrm-drupal/pull/363
xurizaemon's solution also fixes support for Drupal install profiles.