public function setupCms() {
if (!in_array($this->config->cms, array(
'drupal',
+ 'drupal8',
'joomla',
'wordpress',
))) {
$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";