Merge pull request #15973 from kcristiano/5.20-msg-tpl
[civicrm-core.git] / settings / Multisite.setting.php
CommitLineData
6a488035
TO
1<?php
2/*
3 +--------------------------------------------------------------------+
fee14197 4 | CiviCRM version 5 |
6a488035 5 +--------------------------------------------------------------------+
6b83d5bd 6 | Copyright CiviCRM LLC (c) 2004-2019 |
6a488035
TO
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 +--------------------------------------------------------------------+
d25dd0ee 26 */
6a488035
TO
27
28/**
29 *
30 * @package CRM
6b83d5bd 31 * @copyright CiviCRM LLC (c) 2004-2019
6a488035 32 */
eba92929 33
34/**
6a488035
TO
35 * Settings metadata file
36 */
37
dfe1f88a
CW
38return [
39 'is_enabled' => [
6a488035
TO
40 'group_name' => 'Multi Site Preferences',
41 'group' => 'multisite',
42 'name' => 'is_enabled',
eba92929 43 'title' => ts('Enable Multi Site Configuration'),
44 'html_type' => 'checkbox',
45 'type' => 'Boolean',
007e3bdc 46 'default' => '0',
6a488035
TO
47 'add' => '4.1',
48 'is_domain' => 1,
49 'is_contact' => 0,
eba92929 50 'description' => ts('Make CiviCRM aware of multiple domains. You should configure a domain group if enabled'),
969afb18 51 'documentation_link' => ['page' => 'Multi Site Installation', 'resource' => 'wiki'],
08e57c58 52 'help_text' => NULL,
510645fa 53 'settings_pages' => ['multisite' => ['weight' => 10]],
dfe1f88a
CW
54 ],
55 'domain_group_id' => [
6a488035
TO
56 'group_name' => 'Multi Site Preferences',
57 'group' => 'multisite',
58 'name' => 'domain_group_id',
eba92929 59 'title' => ts('Multisite Domain Group'),
6a488035 60 'type' => 'Integer',
eba92929 61 'html_type' => 'entity_reference',
dfe1f88a 62 'entity_reference_options' => ['entity' => 'Group', 'select' => ['minimumInputLength' => 0]],
007e3bdc 63 'default' => '0',
6a488035
TO
64 'add' => '4.1',
65 'is_domain' => 1,
66 'is_contact' => 0,
eba92929 67 'description' => ts('Contacts created on this site are added to this group'),
08e57c58 68 'help_text' => NULL,
510645fa 69 'settings_pages' => ['multisite' => ['weight' => 20]],
dfe1f88a
CW
70 ],
71 'event_price_set_domain_id' => [
6a488035
TO
72 'group_name' => 'Multi Site Preferences',
73 'group' => 'multisite',
74 'name' => 'event_price_set_domain_id',
66f90900 75 'title' => 'Domain Event Price Set',
6a488035 76 'type' => 'Integer',
007e3bdc 77 'default' => '0',
6a488035
TO
78 'add' => '4.1',
79 'is_domain' => 1,
80 'is_contact' => 0,
81 'description' => '',
08e57c58 82 'help_text' => NULL,
dfe1f88a
CW
83 ],
84 'uniq_email_per_site' => [
6a488035
TO
85 'group_name' => 'Multi Site Preferences',
86 'group' => 'multisite',
87 'name' => 'uniq_email_per_site',
88 'type' => 'Integer',
66f90900 89 'title' => 'Unique Email per Domain?',
007e3bdc 90 'default' => '0',
6a488035
TO
91 'add' => '4.1',
92 'is_domain' => 1,
93 'is_contact' => 0,
94 'description' => '',
08e57c58 95 'help_text' => NULL,
dfe1f88a
CW
96 ],
97];