(NFC) (dev/core#878) Simplify copyright header (misc)
[civicrm-core.git] / settings / Multisite.setting.php
1 <?php
2 /*
3 +--------------------------------------------------------------------+
4 | Copyright CiviCRM LLC. All rights reserved. |
5 | |
6 | This work is published under the GNU AGPLv3 license with some |
7 | permitted exceptions and without any warranty. For full license |
8 | and copyright information, see https://civicrm.org/licensing |
9 +--------------------------------------------------------------------+
10 */
11
12 /**
13 *
14 * @package CRM
15 * @copyright CiviCRM LLC https://civicrm.org/licensing
16 */
17
18 /**
19 * Settings metadata file
20 */
21
22 return [
23 'is_enabled' => [
24 'group_name' => 'Multi Site Preferences',
25 'group' => 'multisite',
26 'name' => 'is_enabled',
27 'title' => ts('Enable Multi Site Configuration'),
28 'html_type' => 'checkbox',
29 'type' => 'Boolean',
30 'default' => '0',
31 'add' => '4.1',
32 'is_domain' => 1,
33 'is_contact' => 0,
34 'description' => ts('Make CiviCRM aware of multiple domains. You should configure a domain group if enabled'),
35 'documentation_link' => ['page' => 'Multi Site Installation', 'resource' => 'wiki'],
36 'help_text' => NULL,
37 'settings_pages' => ['multisite' => ['weight' => 10]],
38 ],
39 'domain_group_id' => [
40 'group_name' => 'Multi Site Preferences',
41 'group' => 'multisite',
42 'name' => 'domain_group_id',
43 'title' => ts('Multisite Domain Group'),
44 'type' => 'Integer',
45 'html_type' => 'entity_reference',
46 'entity_reference_options' => ['entity' => 'Group', 'select' => ['minimumInputLength' => 0]],
47 'default' => '0',
48 'add' => '4.1',
49 'is_domain' => 1,
50 'is_contact' => 0,
51 'description' => ts('Contacts created on this site are added to this group'),
52 'help_text' => NULL,
53 'settings_pages' => ['multisite' => ['weight' => 20]],
54 ],
55 'event_price_set_domain_id' => [
56 'group_name' => 'Multi Site Preferences',
57 'group' => 'multisite',
58 'name' => 'event_price_set_domain_id',
59 'title' => 'Domain Event Price Set',
60 'type' => 'Integer',
61 'default' => '0',
62 'add' => '4.1',
63 'is_domain' => 1,
64 'is_contact' => 0,
65 'description' => '',
66 'help_text' => NULL,
67 ],
68 'uniq_email_per_site' => [
69 'group_name' => 'Multi Site Preferences',
70 'group' => 'multisite',
71 'name' => 'uniq_email_per_site',
72 'type' => 'Integer',
73 'title' => 'Unique Email per Domain?',
74 'default' => '0',
75 'add' => '4.1',
76 'is_domain' => 1,
77 'is_contact' => 0,
78 'description' => '',
79 'help_text' => NULL,
80 ],
81 ];