From be2c3268440e98e95f51e29ffa00d70d82927ec5 Mon Sep 17 00:00:00 2001 From: Jen Lampton Date: Tue, 15 Dec 2015 17:03:57 -0800 Subject: [PATCH] Add Backdrop support in CodeGen. --- CRM/Core/CodeGen/Config.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/CRM/Core/CodeGen/Config.php b/CRM/Core/CodeGen/Config.php index b31b172128..2dd6e211cb 100644 --- a/CRM/Core/CodeGen/Config.php +++ b/CRM/Core/CodeGen/Config.php @@ -16,6 +16,7 @@ class CRM_Core_CodeGen_Config extends CRM_Core_CodeGen_BaseTask { public function setupCms() { if (!in_array($this->config->cms, array( + 'backdrop', 'drupal', 'drupal8', 'joomla', @@ -51,6 +52,12 @@ class CRM_Core_CodeGen_Config extends CRM_Core_CodeGen_BaseTask { public function findConfigTemplate($cms) { $candidates = array(); switch ($cms) { + case 'backdrop': + // FIXME!!!! + $candidates[] = "../drupal/civicrm.config.php.backdrop"; + $candidates[] = "../../drupal/civicrm.config.php.backdrop"; + break; + case 'drupal': $candidates[] = "../drupal/civicrm.config.php.drupal"; $candidates[] = "../../drupal/civicrm.config.php.drupal"; -- 2.25.1