'version' => 3,
'domain_id' => 'all',
'uniq_email_per_site' => 1,
- 'debug' => 1,
);
$result = civicrm_api( 'setting','create',$params );
'uniq_email_per_site' => '1',
),
),
- 'xdebug' => array(
- 'peakMemory' => 127711392,
- 'memory' => 123061848,
- 'timeIndex' => '1357.0696148872',
- ),
);
return $expectedResult ;
$expectedResult = array(
'is_error' => 0,
'version' => 3,
- 'count' => 72,
+ 'count' => 73,
'values' => array(
'address_standardization_provider' => array(
'group_name' => 'Address Preferences',
'group' => 'core',
'name' => 'address_format',
'type' => 'String',
- 'html_type' => 'Text',
+ 'html_type' => 'TextArea',
'default' => '{contact.address_name}
{contact.street_address}
{contact.supplemental_address_1}
'name' => 'contact_autocomplete_options',
'type' => 'String',
'html_type' => 'checkboxes',
+ 'pseudoconstant' => array(
+ 'optionGroupName' => 'contact_autocomplete_options',
+ ),
'default' => array(
'0' => '1',
'1' => '2',
'description' => '',
'help_text' => '',
),
+ 'communityMessagesUrl' => array(
+ 'group_name' => 'CiviCRM Preferences',
+ 'group' => 'core',
+ 'name' => 'communityMessagesUrl',
+ 'prefetch' => 0,
+ 'config_only' => 1,
+ 'type' => 'String',
+ 'quick_form_type' => 'Element',
+ 'html_type' => 'Text',
+ 'html_attributes' => array(
+ 'size' => 64,
+ 'maxlength' => 128,
+ ),
+ 'default' => '*default*',
+ 'add' => '4.3',
+ 'title' => 'Community Messages URL',
+ 'is_domain' => 1,
+ 'is_contact' => 0,
+ 'description' => 'Service providing CiviCRM community messages',
+ 'help_text' => 'Use "*default*" for the system default or override with a custom URL',
+ ),
'resCacheCode' => array(
'group_name' => 'CiviCRM Preferences',
'group' => 'core',