add d8 to candidtate - this might not be final plan, but gets setup.sh to 'chug along'
authorEileen <eileen@fuzion.co.nz>
Fri, 10 Jul 2015 02:32:42 +0000 (14:32 +1200)
committerEileen McNaughton <eileen@fuzion.co.nz>
Wed, 22 Jul 2015 04:16:45 +0000 (16:16 +1200)
CRM/Core/CodeGen/Config.php

index ab8f8663729a3b846fdb4d356032d3da0206e3f6..b31b172128d043aa42d4df82d82b25670c8da6e2 100644 (file)
@@ -17,6 +17,7 @@ class CRM_Core_CodeGen_Config extends CRM_Core_CodeGen_BaseTask {
   public function setupCms() {
     if (!in_array($this->config->cms, array(
       'drupal',
+      'drupal8',
       'joomla',
       'wordpress',
     ))) {
@@ -55,6 +56,11 @@ class CRM_Core_CodeGen_Config extends CRM_Core_CodeGen_BaseTask {
         $candidates[] = "../../drupal/civicrm.config.php.drupal";
         break;
 
+      case 'drupal8':
+        $candidates[] = "../../modules/civicrm/civicrm.config.php.drupal";
+        $candidates[] = "../../../modules/civicrm/civicrm.config.php.drupal";
+        break;
+
       case 'wordpress':
         $candidates[] = "../../civicrm.config.php.wordpress";
         $candidates[] = "../WordPress/civicrm.config.php.wordpress";