+ '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',
+ ),
+ ),