Skip to content

drupal-modules/civicrm_entity

 
 

Repository files navigation

CiviCRM Entity for Drupal 8

Installing 8.x-3.0-Beta2 or later.

From 8.x-3.0-Beta2 onwards this module should be installable with normal Drupal composer install steps, composer require drupal/civicrm_entity.

Installing 8.x-3.0-Beta1 or earlier Drupal 8 versions.

Due to a bug with Drupal.org's composer facade. It's not possible to simply composer require drupal/civicrm_entity without some preparation.

To get CiviCRM Entity installed with composer the following steps will work:

  1. Add the CiviCRM Entity repository to your composer.json:
    composer config repositories.civicrm_entity vcs https://github.com/eileenmcnaughton/civicrm_entity
  2. Require CiviCRM Entity's 8.x-3.x git branch:
    composer require drupal/civicrm_entity:dev-8.x-3.x

Note:

You should ensure that your composer.json file has versioned requirements for both civicrm/civicrm-core and civicrm/civicrm-drupal-8.

For example:

       "civicrm/civicrm-core": "^5.19",
       "civicrm/civicrm-drupal-8": "^5.19",

By default the RoundEarth method uses dev-master for civicrm/civicrm-drupal-8 - this is dangerous and not recommended!