Merge pull request #18500 from eileenmcnaughton/loc
[civicrm-core.git] / settings / Multisite.setting.php
CommitLineData
6a488035
TO
1<?php
2/*
3 +--------------------------------------------------------------------+
6b7eb9df 4 | Copyright CiviCRM LLC. All rights reserved. |
6a488035 5 | |
6b7eb9df
TO
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 |
6a488035 9 +--------------------------------------------------------------------+
d25dd0ee 10 */
6a488035
TO
11
12/**
13 *
14 * @package CRM
ca5cec67 15 * @copyright CiviCRM LLC https://civicrm.org/licensing
6a488035 16 */
eba92929 17
18/**
6a488035
TO
19 * Settings metadata file
20 */
21
dfe1f88a
CW
22return [
23 'is_enabled' => [
6a488035
TO
24 'group_name' => 'Multi Site Preferences',
25 'group' => 'multisite',
26 'name' => 'is_enabled',
eba92929 27 'title' => ts('Enable Multi Site Configuration'),
28 'html_type' => 'checkbox',
29 'type' => 'Boolean',
007e3bdc 30 'default' => '0',
6a488035
TO
31 'add' => '4.1',
32 'is_domain' => 1,
33 'is_contact' => 0,
eba92929 34 'description' => ts('Make CiviCRM aware of multiple domains. You should configure a domain group if enabled'),
969afb18 35 'documentation_link' => ['page' => 'Multi Site Installation', 'resource' => 'wiki'],
08e57c58 36 'help_text' => NULL,
510645fa 37 'settings_pages' => ['multisite' => ['weight' => 10]],
dfe1f88a
CW
38 ],
39 'domain_group_id' => [
6a488035
TO
40 'group_name' => 'Multi Site Preferences',
41 'group' => 'multisite',
42 'name' => 'domain_group_id',
eba92929 43 'title' => ts('Multisite Domain Group'),
6a488035 44 'type' => 'Integer',
eba92929 45 'html_type' => 'entity_reference',
dfe1f88a 46 'entity_reference_options' => ['entity' => 'Group', 'select' => ['minimumInputLength' => 0]],
007e3bdc 47 'default' => '0',
6a488035
TO
48 'add' => '4.1',
49 'is_domain' => 1,
50 'is_contact' => 0,
eba92929 51 'description' => ts('Contacts created on this site are added to this group'),
08e57c58 52 'help_text' => NULL,
510645fa 53 'settings_pages' => ['multisite' => ['weight' => 20]],
dfe1f88a
CW
54 ],
55 'event_price_set_domain_id' => [
6a488035
TO
56 'group_name' => 'Multi Site Preferences',
57 'group' => 'multisite',
58 'name' => 'event_price_set_domain_id',
6b013845 59 'title' => ts('Domain Event Price Set'),
6a488035 60 'type' => 'Integer',
007e3bdc 61 'default' => '0',
6a488035
TO
62 'add' => '4.1',
63 'is_domain' => 1,
64 'is_contact' => 0,
08e57c58 65 'help_text' => NULL,
dfe1f88a
CW
66 ],
67 'uniq_email_per_site' => [
6a488035
TO
68 'group_name' => 'Multi Site Preferences',
69 'group' => 'multisite',
70 'name' => 'uniq_email_per_site',
71 'type' => 'Integer',
6b013845 72 'title' => ts('Unique Email per Domain?'),
007e3bdc 73 'default' => '0',
6a488035
TO
74 'add' => '4.1',
75 'is_domain' => 1,
76 'is_contact' => 0,
08e57c58 77 'help_text' => NULL,
dfe1f88a
CW
78 ],
79];