Priceset 2nd half
[civicrm-core.git] / settings / Multisite.setting.php
1 <?php
2 /*
3 +--------------------------------------------------------------------+
4 | CiviCRM version 5 |
5 +--------------------------------------------------------------------+
6 | Copyright CiviCRM LLC (c) 2004-2019 |
7 +--------------------------------------------------------------------+
8 | This file is a part of CiviCRM. |
9 | |
10 | CiviCRM is free software; you can copy, modify, and distribute it |
11 | under the terms of the GNU Affero General Public License |
12 | Version 3, 19 November 2007 and the CiviCRM Licensing Exception. |
13 | |
14 | CiviCRM is distributed in the hope that it will be useful, but |
15 | WITHOUT ANY WARRANTY; without even the implied warranty of |
16 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
17 | See the GNU Affero General Public License for more details. |
18 | |
19 | You should have received a copy of the GNU Affero General Public |
20 | License and the CiviCRM Licensing Exception along |
21 | with this program; if not, contact CiviCRM LLC |
22 | at info[AT]civicrm[DOT]org. If you have questions about the |
23 | GNU Affero General Public License or the licensing of CiviCRM, |
24 | see the CiviCRM license FAQ at http://civicrm.org/licensing |
25 +--------------------------------------------------------------------+
26 */
27
28 /**
29 *
30 * @package CRM
31 * @copyright CiviCRM LLC (c) 2004-2019
32 */
33
34 /**
35 * Settings metadata file
36 */
37
38 return [
39 'is_enabled' => [
40 'group_name' => 'Multi Site Preferences',
41 'group' => 'multisite',
42 'name' => 'is_enabled',
43 'title' => ts('Enable Multi Site Configuration'),
44 'html_type' => 'checkbox',
45 'type' => 'Boolean',
46 'default' => '0',
47 'add' => '4.1',
48 'is_domain' => 1,
49 'is_contact' => 0,
50 'description' => ts('Make CiviCRM aware of multiple domains. You should configure a domain group if enabled'),
51 'documentation_link' => ['page' => 'Multi Site Installation', 'resource' => 'wiki'],
52 'help_text' => NULL,
53 ],
54 'domain_group_id' => [
55 'group_name' => 'Multi Site Preferences',
56 'group' => 'multisite',
57 'name' => 'domain_group_id',
58 'title' => ts('Multisite Domain Group'),
59 'type' => 'Integer',
60 'html_type' => 'entity_reference',
61 'entity_reference_options' => ['entity' => 'Group', 'select' => ['minimumInputLength' => 0]],
62 'default' => '0',
63 'add' => '4.1',
64 'is_domain' => 1,
65 'is_contact' => 0,
66 'description' => ts('Contacts created on this site are added to this group'),
67 'help_text' => NULL,
68 ],
69 'event_price_set_domain_id' => [
70 'group_name' => 'Multi Site Preferences',
71 'group' => 'multisite',
72 'name' => 'event_price_set_domain_id',
73 'title' => 'Domain Event Price Set',
74 'type' => 'Integer',
75 'default' => '0',
76 'add' => '4.1',
77 'is_domain' => 1,
78 'is_contact' => 0,
79 'description' => '',
80 'help_text' => NULL,
81 ],
82 'uniq_email_per_site' => [
83 'group_name' => 'Multi Site Preferences',
84 'group' => 'multisite',
85 'name' => 'uniq_email_per_site',
86 'type' => 'Integer',
87 'title' => 'Unique Email per Domain?',
88 'default' => '0',
89 'add' => '4.1',
90 'is_domain' => 1,
91 'is_contact' => 0,
92 'description' => '',
93 'help_text' => NULL,
94 ],
95 ];