CIVICRM-832: Removing related memberships if parent membership type is changed which...
[civicrm-core.git] / settings / Developer.setting.php
index 3d7715e0893a042d0ca193b26214c3407efd73ac..df66912bda4e58d990db2670a55a3b9876f91a59 100644 (file)
@@ -1,7 +1,7 @@
 <?php
 /*
  +--------------------------------------------------------------------+
- | CiviCRM version 4.7                                                |
+ | CiviCRM version 5                                                  |
  +--------------------------------------------------------------------+
  | Copyright CiviCRM LLC (c) 2004-2017                                |
  +--------------------------------------------------------------------+
@@ -100,6 +100,26 @@ return array(
     'is_contact' => 0,
     'description' => "Set this value to Yes if you want to display a backtrace listing when a fatal error is encountered. This feature should NOT be enabled for production sites",
   ),
+  'environment' => array(
+    'group_name' => 'Developer Preferences',
+    'group' => 'developer',
+    'name' => 'environment',
+    'type' => 'String',
+    'html_type' => 'Select',
+    'quick_form_type' => 'Select',
+    'default' => 'Production',
+    'pseudoconstant' => array(
+      'optionGroupName' => 'environment',
+    ),
+    'add' => '4.7',
+    'title' => 'Environment',
+    'is_domain' => 1,
+    'is_contact' => 0,
+    'description' => "Setting to define the environment in which this CiviCRM instance is running.",
+    'on_change' => array(
+      'CRM_Core_BAO_Setting::onChangeEnvironmentSetting',
+    ),
+  ),
   'fatalErrorHandler' => array(
     'group_name' => 'Developer Preferences',
     'group' => 'developer',