From 6de76322a93bcc98f583d6d3f7cf4ea74e707516 Mon Sep 17 00:00:00 2001 From: Eileen Date: Fri, 10 Jul 2015 14:32:42 +1200 Subject: [PATCH] add d8 to candidtate - this might not be final plan, but gets setup.sh to 'chug along' --- CRM/Core/CodeGen/Config.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/CRM/Core/CodeGen/Config.php b/CRM/Core/CodeGen/Config.php index ab8f866372..b31b172128 100644 --- a/CRM/Core/CodeGen/Config.php +++ b/CRM/Core/CodeGen/Config.php @@ -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"; -- 2.25.1