Merge pull request #15728 from eileenmcnaughton/rel_clean
[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 'settings_pages' => ['multisite' => ['weight' => 10]],
54 ],
55 'domain_group_id' => [
56 'group_name' => 'Multi Site Preferences',
57 'group' => 'multisite',
58 'name' => 'domain_group_id',
59 'title' => ts('Multisite Domain Group'),
60 'type' => 'Integer',
61 'html_type' => 'entity_reference',
62 'entity_reference_options' => ['entity' => 'Group', 'select' => ['minimumInputLength' => 0]],
63 'default' => '0',
64 'add' => '4.1',
65 'is_domain' => 1,
66 'is_contact' => 0,
67 'description' => ts('Contacts created on this site are added to this group'),
68 'help_text' => NULL,
69 'settings_pages' => ['multisite' => ['weight' => 20]],
70 ],
71 'event_price_set_domain_id' => [
72 'group_name' => 'Multi Site Preferences',
73 'group' => 'multisite',
74 'name' => 'event_price_set_domain_id',
75 'title' => 'Domain Event Price Set',
76 'type' => 'Integer',
77 'default' => '0',
78 'add' => '4.1',
79 'is_domain' => 1,
80 'is_contact' => 0,
81 'description' => '',
82 'help_text' => NULL,
83 ],
84 'uniq_email_per_site' => [
85 'group_name' => 'Multi Site Preferences',
86 'group' => 'multisite',
87 'name' => 'uniq_email_per_site',
88 'type' => 'Integer',
89 'title' => 'Unique Email per Domain?',
90 'default' => '0',
91 'add' => '4.1',
92 'is_domain' => 1,
93 'is_contact' => 0,
94 'description' => '',
95 'help_text' => NULL,
96 ],
97 ];