Merge pull request #13343 from GinkgoFJG/case-issues-w-ufgroup-api
[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
38return array(
39 'is_enabled' => array(
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,
6a488035
TO
53 ),
54 'domain_group_id' => array(
55 'group_name' => 'Multi Site Preferences',
56 'group' => 'multisite',
57 'name' => 'domain_group_id',
eba92929 58 'title' => ts('Multisite Domain Group'),
6a488035 59 'type' => 'Integer',
eba92929 60 'html_type' => 'entity_reference',
61 'entity_reference_options' => ['entity' => 'group', 'select' => array('minimumInputLength' => 0)],
007e3bdc 62 'default' => '0',
6a488035
TO
63 'add' => '4.1',
64 'is_domain' => 1,
65 'is_contact' => 0,
eba92929 66 'description' => ts('Contacts created on this site are added to this group'),
08e57c58 67 'help_text' => NULL,
6a488035
TO
68 ),
69 'event_price_set_domain_id' => array(
70 'group_name' => 'Multi Site Preferences',
71 'group' => 'multisite',
72 'name' => 'event_price_set_domain_id',
66f90900 73 'title' => 'Domain Event Price Set',
6a488035 74 'type' => 'Integer',
007e3bdc 75 'default' => '0',
6a488035
TO
76 'add' => '4.1',
77 'is_domain' => 1,
78 'is_contact' => 0,
79 'description' => '',
08e57c58 80 'help_text' => NULL,
6a488035
TO
81 ),
82 'uniq_email_per_site' => array(
83 'group_name' => 'Multi Site Preferences',
84 'group' => 'multisite',
85 'name' => 'uniq_email_per_site',
86 'type' => 'Integer',
66f90900 87 'title' => 'Unique Email per Domain?',
007e3bdc 88 'default' => '0',
6a488035
TO
89 'add' => '4.1',
90 'is_domain' => 1,
91 'is_contact' => 0,
92 'description' => '',
08e57c58 93 'help_text' => NULL,
6a488035 94 ),
56fdfc52 95);