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

bgm created an issue. See original summary.

  • bgm committed 3dafc7e on 7.x-3.x
    Issue #2682147: Basic Drupal8 support.
    
bgm’s picture

Status: Active » Needs review

It 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?

bgm’s picture

Status: Needs review » Fixed

Directory issue is now fixed upstream: https://github.com/civicrm/civicrm-drupal/pull/363

xurizaemon's solution also fixes support for Drupal install profiles.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.